Difference between revisions of "Template:Infobox character/doc"
From Summertime Saga Wiki
m (1 revision imported) |
m |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == 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. | |
− | This template | + | {{infobox character |
− | {{ | + | |name= ''full name'' |
− | | name | + | |color= ''name color'' |
− | | | + | |image= |
− | | image | + | |nickname= ''nickname'' |
− | + | |alias= ''alias'' | |
− | + | |gender= ''gender'' | |
− | + | |hair= ''hair color'' | |
− | + | |eyes= ''eyes color'' | |
− | + | |relatives= ''family or ex’s'' | |
− | + | |occupation= ''occupation'' | |
− | + | |morning= ''morning schedule'' | |
− | + | |afternoon= ''afternoon schedule'' | |
− | + | |evening= ''evening schedule'' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | nickname | ||
− | | alias | ||
− | |||
− | | gender | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
}} | }} | ||
− | <pre style="overflow:auto">{{ | + | <pre style="overflow:auto">{{infobox character |
− | + | |name= | |
− | | name | + | |color= |
− | | | + | |image= |
− | | image | + | |nickname= |
− | + | |alias= | |
− | + | |gender= | |
− | + | |hair= | |
− | + | |eyes= | |
− | + | |relatives= | |
− | + | |occupation= | |
− | + | |morning= | |
− | + | |afternoon= | |
− | + | |evening= | |
− | + | }}</pre>{{clear}} | |
− | + | ||
− | + | == Optional Parameters == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | nickname | ||
− | | alias | ||
− | |||
− | | gender | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | relatives | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ; {{para|name}} : Character full name (with title) to display in header. | |
− | + | ; {{para|color}} : Color in which the character name appears in in‐game dialogues. | |
+ | ; {{para|image}} : Image of the character in his/her usual clothing. “File:” prefix is not required. i.e. use {{para|image|<var><nowiki>Example.png</nowiki></var>}} | ||
+ | ; {{para|gender}} : Character gender; either male, female, or X. | ||
+ | ; {{para|hair color}} : The character hair color. | ||
+ | ; {{para|eye color}} : The character eye color. | ||
+ | ; {{para|alias}} : Any aliases used by the character (not implemented). | ||
+ | ; {{para|nickname}} : Any nicknames used by the character (not implemented). | ||
+ | ; {{para|relatives}} : Family or ex‐boyfriend/ex‐girlfriend prior to any route. | ||
+ | ; {{para|occupations}} : Job or position assumed by the character (not implemented). | ||
+ | ; {{para|morning schedule}} : Where to find the character in the morning. | ||
+ | ; {{para|afternoon schedule}} : Where to find the character in the morning. | ||
+ | ; {{para|evening schedule}} : Where to find the character in the evening. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
− | { | + | |
− | | | + | {|class=wikitable style="width:100%;" |
− | + | ! Markup | |
− | + | ! Renders as | |
− | + | |- style="vertical-align:top;" | |
− | | | + | | <pre style="overflow:auto"> |
− | | | + | {{infobox character |
− | + | |name= Annie | |
− | | | + | |color= #FF9391 |
− | | | + | |image= Annie.png |
− | | | + | |gender= Female |
− | | gender | + | |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= |
− | | | ||
− | | | ||
− | | | ||
− | |||
}} | }} | ||
− | <pre | + | </pre> |
− | {{ | + | | {{infobox character |
− | | name | + | |name= Annie |
− | | | + | |color= #FF9391 |
− | | image | + | |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= | |
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
}} | }} | ||
− | + | |} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Category:Templates]] | |
+ | [[Category:Templates documentation]] |
Latest revision as of 13:29, 24 August 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= }}
Optional Parameters
|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= }} |
|