Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(123 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox player">
{{infobox
<tr>
|autoheaders = y
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
</tr>
|subheader = {{{tag|}}}
{{#if:{{{tag|}}}|
|image = {{{image|}}}
<tr class="mergedrow">
|caption = {{{caption|}}}
<td class="tag" colspan="2">{{{tag}}}</td>
</tr>
}}
{{#if:{{{image|}}}|
<tr class="mergedtoprow">
<td colspan="2">[[File:{{{image}}}|275px]]</td>
</tr>
}}
{{#if:{{{gender|}}}|
<tr class="mergedtoprow">
<th>Gender</th>
<td>{{{gender}}}</td>
</tr>
}}
{{#if:{{{race|}}}|
<tr class="mergedrow">
<th>Race</th>
<td>{{{race}}}</td>
</tr>
}}
{{#if:{{{alignment|}}}|
<tr class="mergedrow">
<th>Alignment</th>
<td>{{{alignment}}}</td>
</tr>
}}
{{#if:{{{class|}}}|
<tr class="mergedrow">
<th>Class</th>
<td>{{{class}}}</td>
</tr>
}}
{{#if:{{{height|}}}|
<tr class="mergedtoprow">
<th>Height</th>
<td>{{{height}}}</td>
</tr>
}}
{{#if:{{{weight|}}}|
<tr class="mergedrow">
<th>Weight</th>
<td>{{{weight}}}</td>
</tr>
}}
{{#if:{{{status|}}}|
<tr class="mergedtoprow">
<th>Status</th>
<td>{{{status}}}</td>
</tr>
}}
{{#if:{{{born|}}}|
<tr class="mergedrow">
<th>Born</th>
<td>{{{born}}}</td>
</tr>
}}
{{#if:{{{age|}}}|
<tr class="mergedrow">
<th>Age</th>
<td>{{{age}}}</td>
</tr>
}}
{{#if:{{{died|}}}|
<tr class="mergedrow">
<th>Died</th>
<td>{{{died}}}</td>
</tr>
}}
{{#if:{{{campaigns|}}}|
<tr class="mergedtoprow">
<th>Campaigns</th>
<td>{{{campaigns}}}</td>
</tr>
}}
{{#if:{{{firstsession|}}}|
<tr class="mergedrow">
<th>First Session</th>
<td>{{{firstsession}}}</td>
</tr>
}}
{{#if:{{{lastsession|}}}|
<tr class="mergedrow">
<th>Last Session</th>
<td>{{{lastsession}}}</td>
</tr>
}}
{{#if:{{{charactersheet|}}}|
<tr class="mergedtoprow">
<td colspan="2" class="charactersheet">[{{{charactersheet}}} Character Sheet]</td>
</tr>
}}
</table>
[[Category:All Player Characters]]
</includeonly>
<noinclude>
== Usage ==
Those in <bold>bold</bold> are required.


|tag = Used if the character has a title in an organization or country<br />
|header1 = 5th Edition Statistics
|image = Name of the image file to use<br />
|label2 = Size
|gender = Gander of the character<br />
|data2 = {{{size5e|}}}
|race = Race of the character<br />
|label3 = Type
|alignment = Alignment of the character<br />
|data3 = {{{type5e|}}}
|class = Class of the character in the following format; Wizard 2, Fighter 7<br />
|label4 = Tag(s)
|height = Height of the character in feet and inches<br />
|data4 = {{{tags5e|}}}
|weight = Weight of the character in pounds<br />
|label5 = Typical Alignment
|status = Is the character alive, dead, or resurrected. If dead, include what killed them in parentheses.<br />
|data5 = {{{alignment5e|}}}
|born = Character's date of birth<br />
 
|age = Characters age<br />
|header6 = General Information
|died = Characters date of death<br />
|label7 = Patron Deity(s)
|campaigns = List of campaigns, in order, that the character has been in.<br />
|data7 = {{{deity|}}}
|firstsession = Link to the first campaign session the character was in<br />
|label8 = Movement
|lastsession = Link to the last/latest campaign session the character was in<br />
|data8 = {{{movement|}}}
|charactersheet = URL to character sheet, if availible
|label9 = Vision
== Blank Templates ==
|data9 = {{{vision|}}}
=== Single Image ===
|label10 = Activity Cycle
|tag = <br />
|data10 = {{{sleep_cycle|}}}
|image = <br />
|label11 = Diet
|gender = <br />
|data11 = {{{diet|}}}
|race = <br />
|label12 = Average Lifespan
|alignment = <br />
|data12 = {{{lifespan|}}}
|class = <br />
|label13 = Homeland(s)
|height = <br />
|data13 = {{{homeland|}}}
|weight = <br />
|label14 = Intelligence
|status = <br />
|data14 = {{{intelligence|}}}
|born = <br />
|label15 = Language(s)
|age = <br />
|data15 = {{{language|}}}
|died = <br />
|label16 = Subraces
|campaigns = <br />
|data16 = {{{subraces|}}}
|firstsession = <br />
|label17 = Favored Climate
|lastsession = <br />
|data17 = {{{favored_climate|}}}
|charactersheet =
|label18 = Favored Terrain
[[Category:Templates]]
|data18 = {{{favored_terrain|}}}
 
|header19 = Appearance
|label20 = Average Height
|data20 = {{{height|}}}
|label21 = Wingspan
|data21 = {{{wingspan|}}}
|label22 = Skin Color(s)
|data22 = {{{skin_colors|}}}
|label23 = Hair Color(s)
|data23 = {{{hair_colors|}}}
|label24 = Feather Color(s)
|data24 = {{{feathers|}}}
|label25 = Eye Color(s)
|data25 = {{{eye_color|}}}
|label26 = Build
|data26 = {{{build|}}}
|label27 = Distinctions
|data27 = {{{distinctions|}}}
 
|aboveclass = mergedtoprow name
|subheaderrowclass1 = mergedbottomrow tag
|imagerowclass1 = mergedtoprow mergedbottomrow
|rowclass1 = mergedtoprow
|rowstyle1 = background:#DFDECF;
|rowclass2 = mergedrow
|rowclass3 = mergedrow
|rowclass4 = mergedrow
|rowclass5 = mergedbottomrow
|rowclass6 = mergedtoprow
|rowstyle6 = background:#DFDECF;
|rowclass7 = mergedrow
|rowclass8 = mergedrow
|rowclass9 = mergedrow
|rowclass10 = mergedrow
|rowclass11 = mergedrow
|rowclass12 = mergedrow
|rowclass13 = mergedrow
|rowclass14 = mergedrow
|rowclass15 = mergedrow
|rowclass16 = mergedrow
|rowclass17 = mergedrow
|rowclass18 = mergedbottomrow
|rowclass19 = mergedtoprow
|rowstyle19 = background:#DFDECF;
|rowclass20 = mergedrow
|rowclass21 = mergedrow
|rowclass22 = mergedrow
|rowclass23 = mergedrow
|rowclass24 = mergedrow
|rowclass25 = mergedrow
|rowclass26 = mergedrow
|rowclass27 = mergedbottomrow
}}</includeonly><noinclude>
{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
</noinclude>

Latest revision as of 14:26, 29 May 2022