Difference between revisions of "Template:MonInfo"

From We Are All Pokémon Trainers
Jump to navigation Jump to search
m (some instructions plus border_color)
m
Line 3: Line 3:
 
| colspan="2" style="text-align: center; font-size: 150%; " | {{PAGENAME}}
 
| colspan="2" style="text-align: center; font-size: 150%; " | {{PAGENAME}}
 
|-
 
|-
| width="45%" style="width:45%; text-align: left; padding-right: 4px;" | '''Species / Morph''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{2}}}
+
| width="35%" style="width:35%; text-align: left; padding: 0 4px;" | '''Species / Morph''' || width="55%" style="width:55%; text-align: right; padding-left: 4px;" | {{{2}}}
 
|-
 
|-
 
| '''[[:Category:Pokémon by Gender|Gender]]''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{gender|?}}}
 
| '''[[:Category:Pokémon by Gender|Gender]]''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{gender|?}}}
 
|-
 
|-
| '''Nature''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{nature|''unknown''}}}
+
| '''Nature''' || style="text-align: right; padding-left: 4px;" | {{{nature|''unknown''}}}
 
|-
 
|-
| '''Age Info''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{#if:{{{age|}}}|{{{age}}} old|}} {{#if:{{{birthdate|}}}|born on {{{birthdate}}}|}} {{#if:{{{age|}}}{{{birthdate|}}}||''unknown''}}
+
| '''Age Info''' || style="width:55%; text-align: right; padding-left: 4px;" | {{#if:{{{age|}}}|{{{age}}} old|}} {{#if:{{{birthdate|}}}|born on {{{birthdate}}}|}} {{#if:{{{age|}}}{{{birthdate|}}}||''unknown''}}
 
|-
 
|-
| '''{{bp|Poké Ball}}''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{ball|Poké?}}}
+
| '''{{bp|Poké Ball}}''' || style="width:55%; text-align: right; padding-left: 4px;" | {{{ball|Poké?}}}
 
|-
 
|-
| '''[[:Category:Pokémon by Acquisition|Obtained by]]''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{obtained|''read below''}}}
+
| '''[[:Category:Pokémon by Acquisition|Obtained by]]''' || style="width:55%; text-align: right; padding-left: 4px;" | {{{obtained|''read below''}}}
 
|-
 
|-
| '''Training<br/>[[Training Classification|Classification]]''' || width="45%" style="width:45%; text-align: right; padding-left: 4px;" | {{{tc|''undetermined''}}}
+
| '''Training<br/>[[Training Classification|Classification]]''' || style="width:55%; text-align: right; padding-left: 4px;" | {{{tc|''undetermined''}}}
 
|-
 
|-
 
</includeonly></onlyinclude><noinclude>
 
</includeonly></onlyinclude><noinclude>

Revision as of 04:06, 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é?".
  • 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.