Difference between revisions of "Template:Character infobox"

From Mushpedia
Jump to: navigation, search
m
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable floatright" style="text-align: center"
+
<includeonly><onlyinclude>{| class="wikitable floatright" style="text-align: center"
 
|-
 
|-
| colspan="2" | [[image:{{lc:{{{fullname}}}}} portrait.jpg]]
+
| colspan="2" | [[image:{{lc:{{{fullname}}}}} portrait.jpg|210px]]
 
|-
 
|-
| width="30px" | [[image:{{{firstname}}} sprite.png]] || '''<big>{{{fullname}}}</big>'''
+
! width="30px" | [[image:{{lc:{{{firstname}}}}} sprite.png]]
 +
!'''<big>{{{fullname}}}</big>'''
 
|-
 
|-
 
| colspan="2" width="200px" style="text-align: left" | {{{glory|Add in-game character-specific glory description.}}}
 
| colspan="2" width="200px" style="text-align: left" | {{{glory|Add in-game character-specific glory description.}}}
 
|-
 
|-
{{#if:{{{trait|}}}|{{user:cimanyd/testtemplate3|{{{traiticon|(add picture)}}}|{{{trait}}}|{{{traitinfo|Add in-game trait description.}}}}}}}
+
{{#if:{{{trait|}}}|{{character infobox trait|{{{traiticon|(add picture)}}}|'''{{{trait}}}'''|{{{traitinfo|Add in-game trait description.}}}}}}}
| 1 || style="text-align: left" | {{skill|{{{s1}}}}}
+
! colspan="2" | Skills:
 
|-
 
|-
| 2 || style="text-align: left" | {{skill|{{{s2}}}}}
+
| {{Level|1}} || style="text-align: left" | {{skill|{{{s1}}}}}
 
|-
 
|-
| 3 || style="text-align: left" | {{skill|{{{s3}}}}}
+
| {{Level|2}} || style="text-align: left" | {{skill|{{{s2}}}}}
 
|-
 
|-
| 4 || style="text-align: left" | {{skill|{{{s4}}}}}
+
| {{Level|3}} || style="text-align: left" | {{skill|{{{s3}}}}}
 
|-
 
|-
| 5 || style="text-align: left" | {{skill|{{{s5}}}}}
+
| {{Level|4}} || style="text-align: left" | {{skill|{{{s4}}}}}
{{#if:{{{s6|}}}|{{user:cimanyd/testtemplate2|{{{s6}}}}}}}
+
|-
 +
| {{Level|5}} || style="text-align: left" | {{skill|{{{s5}}}}}
 +
{{#if:{{{s6|}}}|{{!}}-
 +
{{!}} {{Level|6}} {{!}}{{!}} style="text-align: left" {{!}} {{skill|{{{s6}}}}}}}
 +
|-
 +
! colspan="2" | Position on [[titles|title lists]]:
 +
|-
 +
| {{#ifeq:{{{command}}}|1|'''}}#{{{command|?}}}{{#ifeq:{{{command}}}|1|'''}} || style="text-align: left" | [[image:title 01.png|link=Titles#Commander|Icon]] {{#ifeq:{{{command}}}|1|'''}}[[Titles#Commander|Commander]]{{#ifeq:{{{command}}}|1|'''}}
 +
|-
 +
| {{#ifeq:{{{neron}}}|1|'''}}#{{{neron|?}}}{{#ifeq:{{{neron}}}|1|'''}} || style="text-align: left" | [[image:title 02.png|link=Titles#NERON Administrator|Icon]] {{#ifeq:{{{neron}}}|1|'''}}[[Titles#NERON Administrator|NERON Administrator]]{{#ifeq:{{{neron}}}|1|'''}}
 +
|-
 +
| {{#ifeq:{{{comms}}}|1|'''}}#{{{comms|?}}}{{#ifeq:{{{comms}}}|1|'''}} || style="text-align: left" | [[image:title 03.png|link=Titles#Communications Officer|Icon]] {{#ifeq:{{{comms}}}|1|'''}}[[Titles#Communications Officer|Communications Officer]]{{#ifeq:{{{comms}}}|1|'''}}
 +
|}</onlyinclude></includeonly>
 +
{{character infobox|firstname=Ian|fullname=Ian Soulton|glory=Ian earns 3 {{glory}} for every alien fruit planted.|trait=Pacifist|traiticon=[[image:pacifist.png]]|traitinfo=Wherever you are, aggressive actions cost an additional 2 {{ap}}.|s1=botanist|s2=biologist|s3=mycologist|s4=greenthumb|s5=fire|s6=frugivore|command=14|neron=7|comms=11}}
 +
{{character infobox|firstname=Chun|fullname=Zhong Chun|s1=hope|s2=nurse|s3=premonition|s4=sneak|s5=lethargy|command=16|neron=14|comms=10}}
 +
This is a template for use on the character pages.
 +
 
 +
{| class="wikitable"
 +
! Parameter !! Explanation !! colspan="2" | Example
 +
|-
 +
| firstname || width="150" | Name used in the game. || width="150" | Ian || width="150" | Chun
 +
|-
 +
| fullname || Character's full name. || Ian Soulton || Zhong Chun
 +
|-
 +
| glory || Character-specific glory gain, seen by mousing over the glory icon in game. || Ian earns 3 <nowiki>{{glory}}</nowiki> for every alien fruit planted. || (I don't know this one, so let's leave this parameter out.)
 +
|-
 +
| trait || Starting status unique to character. Optional. || Pacifist
 +
|-
 +
| traiticon || Icon of that status. Only used with "trait". || <nowiki>[[image:pacifist.png]]</nowiki>
 +
|-
 +
| traitinfo || In-game mouseover description of that status. Only used with "trait". || Wherever you are, aggressive actions cost an additional 2 <nowiki>{{ap}}</nowiki>.
 +
|-
 +
| s1 || rowspan=6 | Character's possible skills. Number corresponds to required character level. See [[template:skill]] for what to enter for each skill. "s6" is optional. || botanist || hope
 +
|-
 +
| s2 || biologist || nurse
 +
|-
 +
| s3 || mycologist || premonition
 +
|-
 +
| s4 || greenthumb || sneak
 +
|-
 +
| s5 || fire || lethargy
 +
|-
 +
| s6 || frugivore
 +
|-
 +
| command || rowspan=3 | Position on the [[titles|title succession lists]]. || 14 || 16
 +
|-
 +
| neron || 7 || 14
 +
|-
 +
| comms || 11 || 10
 
|}
 
|}
 +
Examples of use:
 +
 +
<tt><nowiki>{{character infobox|firstname=Ian|fullname=Ian Soulton|glory=Ian earns 3 {{glory}} for every alien fruit planted.|trait=Pacifist|traiticon=[[image:pacifist.png]]|traitinfo=Wherever you are, aggressive actions cost an additional 2 {{ap}}.|s1=botanist|s2=biologist|s3=mycologist|s4=greenthumb|s5=fire|s6=frugivore|command=14|neron=7|comms=11}}</nowiki>
 +
 +
<nowiki>{{character infobox|firstname=Chun|fullname=Zhong Chun|s1=hope|s2=nurse|s3=premonition|s4=sneak|s5=lethargy|command=16|neron=14|comms=10}}</nowiki></tt>
 +
[[category:templates]]
 +
 +
The results are on the right side of this page.

Latest revision as of 00:17, 13 March 2014

Ian soulton portrait.jpg
Ian sprite.png Ian Soulton
Ian earns 3 Glory for every alien fruit planted.
Pacifist.png Pacifist

Wherever you are, aggressive actions cost an additional 2 Action Point.

Skills:
1 Icon Botanist
2 Icon Biologist
3 Icon Mycologist
4 Icon Green Thumb
5 Icon Firefighter
6 Icon Frugivore
Position on title lists:
#14 Icon Commander
#7 Icon NERON Administrator
#11 Icon Communications Officer
Zhong chun portrait.jpg
Chun sprite.png Zhong Chun
Add in-game character-specific glory description.
Skills:
1 Icon Mankind's only hope
2 Icon Nurse
3 Icon Premonition
4 Icon Sneak
5 Icon Lethargy
Position on title lists:
#16 Icon Commander
#14 Icon NERON Administrator
#10 Icon Communications Officer

This is a template for use on the character pages.

Parameter Explanation Example
firstname Name used in the game. Ian Chun
fullname Character's full name. Ian Soulton Zhong Chun
glory Character-specific glory gain, seen by mousing over the glory icon in game. Ian earns 3 {{glory}} for every alien fruit planted. (I don't know this one, so let's leave this parameter out.)
trait Starting status unique to character. Optional. Pacifist
traiticon Icon of that status. Only used with "trait". [[image:pacifist.png]]
traitinfo In-game mouseover description of that status. Only used with "trait". Wherever you are, aggressive actions cost an additional 2 {{ap}}.
s1 Character's possible skills. Number corresponds to required character level. See template:skill for what to enter for each skill. "s6" is optional. botanist hope
s2 biologist nurse
s3 mycologist premonition
s4 greenthumb sneak
s5 fire lethargy
s6 frugivore
command Position on the title succession lists. 14 16
neron 7 14
comms 11 10

Examples of use:

{{character infobox|firstname=Ian|fullname=Ian Soulton|glory=Ian earns 3 {{glory}} for every alien fruit planted.|trait=Pacifist|traiticon=[[image:pacifist.png]]|traitinfo=Wherever you are, aggressive actions cost an additional 2 {{ap}}.|s1=botanist|s2=biologist|s3=mycologist|s4=greenthumb|s5=fire|s6=frugivore|command=14|neron=7|comms=11}}

{{character infobox|firstname=Chun|fullname=Zhong Chun|s1=hope|s2=nurse|s3=premonition|s4=sneak|s5=lethargy|command=16|neron=14|comms=10}}

The results are on the right side of this page.