Difference between revisions of "Template:Infobox character/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m (Parameters)
m (Example)
Line 84: Line 84:
 
== Example ==
 
== Example ==
  
 +
{|class=wikitable style="width:100%;"
 +
! Markup
 +
! Renders as
 +
|-
 +
| <pre style="overflow:auto">
 
{{infobox character
 
{{infobox character
 
| name = Annie
 
| name = Annie
Line 96: Line 101:
 
| evening =
 
| evening =
 
}}
 
}}
<pre style="overflow:auto">
+
</pre>
{{infobox character
+
| {{infobox character
 
| name = Annie
 
| name = Annie
 
| color = #FF9391
 
| color = #FF9391
Line 109: Line 114:
 
| evening =
 
| evening =
 
}}
 
}}
</pre>
+
|}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Templates documentation]]
 
[[Category:Templates documentation]]

Revision as of 00:53, 11 July 2020

Usage

This template is used to create an infobox for a fictional character of any type. The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.

full name
Appearance
Gender gender
Hair color hair color
Eye color eyes color
Information
Relatives family or ex’s
Schedule
Morning morning schedule
Afternoon afternoon schedule
Evening evening schedule
{{infobox character
| name =
| color	=
| image	= 
| nickname =
| alias	=
| gender =
| hair =
| eyes =
| relatives =
| occupation =
| morning =
| afternoon =
| evening =
}}

Parameters

All parameters are optional.

Parameter Description
name Character full name (with title) to display in header
color Color in which the character name appears in in‐game dialogues
image Image of the character in his/her usual clothing. “File:” prefix is not required. i.e. use |image=Example.png
gender Character gender; either male, female, or X
hair color The character hair color
eye color The character eye color
alias Any aliases used by the character (not implemented)
nickname Any nicknames used by the character (not implemented)
relatives Family or ex‐boyfriend/ex‐girlfriend prior to any route
occupations Job or position assumed by the character (not implemented)
morning schedule Where to find the character in the morning
afternoon schedule Where to find the character in the morning
evening schedule Where to find the character in the evening

Example

Markup Renders as
{{infobox character
| name = Annie
| color = #FF9391
| image = Annie.png
| gender = Female
| hair = Titian hair
| eyes = Brown
| relatives = {{lightlink|Lucy}} (mother)<br>{{lightlink|Richard}} (father)
| morning = {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| afternoon = {{lightlink|School}} {{nowrap|(Mon–Fri)}}
| evening =
}}
Annie
"Infobox character/doc illustration"
Appearance
Gender Female
Hair color Titian hair
Eye color Brown
Information
Relatives Lucy (mother)
Richard (father)
Schedule
Morning School (Mon–Fri)
Afternoon School (Mon–Fri)