Difference between revisions of "Template:MonInfo"
Jump to navigation
Jump to search
VeniaSilente (talk | contribs) m |
VeniaSilente (talk | contribs) m (using custom CSS now) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly>{| style=" | + | <onlyinclude><includeonly>{| class="mon_info" style="border:4px outset {{{border_color|gray}}}; border-radius: 6px; font-size: smaller; " border="1" "cellpadding="1" |
|- | |- | ||
− | | colspan="2" style="text-align: center; font-size: | + | | colspan="2" style="text-align: center; font-size: 150%; border: 4px outset gray;" | {{PAGENAME}} |
|- | |- | ||
− | | | + | | class="key" | '''Species / Morph''' || class="value" | {{{2}}} |
|- | |- | ||
− | | '''Gender''' || {{{gender|?}}} | + | | class="key" | '''[[:Category:Pokémon by Gender|Gender]]''' || class="value" | {{{gender|?}}} |
|- | |- | ||
− | | '''Nature''' || {{{nature| | + | | class="key" | '''Nature''' || class="value" | {{{nature|''unknown''}}} |
|- | |- | ||
− | | '''Age Info''' || {{{age| | + | | class="key" | '''Age Info''' || class="value" | {{#if:{{{age|}}}|{{{age}}} old|}} {{#if:{{{birthdate|}}}|born on {{{birthdate}}}|}} {{#if:{{{age|}}}{{{birthdate|}}}||''unknown''}} |
|- | |- | ||
− | | '''{{bp|Poké Ball}}''' || {{{ball|Poké?}}} | + | | class="key" | '''{{bp|Poké Ball}}''' || class="value" | {{{ball|Poké?}}} |
+ | |- | ||
+ | | class="key" | '''[[:Category:Pokémon by Acquisition|Obtained by]]''' || class="value" | {{{obtained|''read below''}}} | ||
+ | |- | ||
+ | | class="key" | '''Training<br/>[[Training Classification|Classification]]''' || class="value" | {{{tc|''undetermined''}}} | ||
|- | |- | ||
− | |||
− | |||
</includeonly></onlyinclude><noinclude> | </includeonly></onlyinclude><noinclude> | ||
+ | |||
+ | = Template Usage Information = | ||
+ | |||
+ | Start and end the mon information block with the <code>/Begin</code> and <code>/End</code> subtemplates. Then fill in the fields that you want (some of them can take default values). If you want to add custom fields add them with the <code>/Field</code> subtemplate. If you want to add a ''quote'' for your character add it with the <code>/Quote</code> subtemplate. | ||
+ | |||
+ | Example usage is as follows. | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | {{MonInfo/Begin}} | ||
+ | {{MonInfo|Nick|Species|gender=Female|nature=Adorable|age=1 yr|ball=Poké Ball|obtained=Egg|tc=¿?}} | ||
+ | {{MonInfo/Field|Favourite Food|[nuts]!}} | ||
+ | {{MonInfo/Quote|"Silly Pidgeys!"}} | ||
+ | {{MonInfo/End}} | ||
+ | </pre> | ||
+ | |||
+ | Important fields: | ||
+ | |||
+ | * The '''first field''' is the nickname, not actually used ATM. | ||
+ | * The '''second field''' is the species or morph, not important ATM but might be used later for sprite or categorization. | ||
+ | * '''gender''': Has to begin with uppercase (Male, Female, Genderless). This field '''must''' be specified. | ||
+ | * '''age''' is the current age of the Pokémon. If don't want to set, mark it as empty (<code><nowiki>|age=|</nowiki></code>). | ||
+ | * '''birthdate''' is the date of birth of the Pokémon, if known. | ||
+ | * '''ball''' is the type of Pokéball of the Pokémon; it defaults to "Poké?". Might be used to eventually add icon later. | ||
+ | * Use the '''obtained''' field to briefly describe how the Pokémon was obtained; defaults to "see page" in case you'd rather describe it in the page itself. | ||
+ | * '''tc''' is the [[Training Classification]] of the Pokémon. ; defaults to display a question mark. | ||
+ | * You can set the color of the table border with '''border_color'''; defaults to <code>gray</code>. | ||
+ | |||
[[Category:Editing Templates]] | [[Category:Editing Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:49, 25 July 2013
Template Usage Information
Start and end the mon information block with the /Begin
and /End
subtemplates. Then fill in the fields that you want (some of them can take default values). If you want to add custom fields add them with the /Field
subtemplate. If you want to add a quote for your character add it with the /Quote
subtemplate.
Example usage is as follows.
{{MonInfo/Begin}} {{MonInfo|Nick|Species|gender=Female|nature=Adorable|age=1 yr|ball=Poké Ball|obtained=Egg|tc=¿?}} {{MonInfo/Field|Favourite Food|[nuts]!}} {{MonInfo/Quote|"Silly Pidgeys!"}} {{MonInfo/End}}
Important fields:
- The first field is the nickname, not actually used ATM.
- The second field is the species or morph, not important ATM but might be used later for sprite or categorization.
- gender: Has to begin with uppercase (Male, Female, Genderless). This field must be specified.
- age is the current age of the Pokémon. If don't want to set, mark it as empty (
|age=|
). - birthdate is the date of birth of the Pokémon, if known.
- ball is the type of Pokéball of the Pokémon; it defaults to "Poké?". Might be used to eventually add icon later.
- Use the obtained field to briefly describe how the Pokémon was obtained; defaults to "see page" in case you'd rather describe it in the page itself.
- tc is the Training Classification of the Pokémon. ; defaults to display a question mark.
- You can set the color of the table border with border_color; defaults to
gray
.