Template:Infobox test: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheader = {{{tag|}}}
|subheader = {{{tag|}}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|subheader2 = {{{settlement_type|}}} of {{{country|}}}
|image = {{{image|}}}
|caption = {{{caption|}}}
|caption = {{{caption|}}}
|label1 = Rarity
|label1 = Founded
|data1 = {{#if:{{{rarity|}}}|[[:Category:{{{rarity|}}} Items|{{{rarity|}}}]]|[[:Category:Common Items|Common]]}}
|data1 = {{{founded|}}}
|label2 = Type
|label2 = Founded By
|data2 = {{#if:{{{type|}}}|[[:Category:{{{type|}}}s|{{{type|}}}]]}}
|data2 = {{{founded_by|}}}
|label3 = Attunement?
|label3 = Government
|data3 = {{#if:{{{attunement|}}}|[[:Category:Items Requiring Attunement|Yes]]}}
|data3 = {{{government|}}}
|label4 = Cursed?
|label4 = {{{leader_title|}}}
|data4 = {{#if:{{{cursed|}}}|[[:Category:Cursed Items|Yes]]}}
|data4 = {{{leader_name|}}}
|label5 = Value
|label5 = Area
|data5 = {{{value|}}}
|data5 = {{{area|}}}
|label6 = Creator
|label6 = Population
|data6 = {{#if:{{{creator|}}}|[[{{{creator|}}}]]}}
|data6 = {{{population|}}}
|label7 = Current Location
|label7 = Elevation
|data7 = {{{location|}}}
|data7 = {{{elevation|}}}
|label8 = First Appearance
|label8 = Setting
|data8 = [[{{{firstappears|}}}]]
|data8 = {{{setting|}}}
|label9 = Latest Appearance
|data9 = {{#if:{{{lastappears|}}}|[[{{{lastappears|}}}]]}}


|aboveclass = mergedtoprow name
|aboveclass =  
|subheaderrowclass1 = mergedbottomrow tag
|subheaderrowclass1 =  
|imagerowclass1 = mergedtoprow mergedbottomrow
|subheaderrowclass2 =
|rowclass1 = mergedtoprow
|imagerowclass1 =  
|rowclass2 = mergedrow
|rowclass1 =  
|rowclass3 = mergedrow
|rowclass2 =  
|rowclass4 = mergedrow
|rowclass3 =  
|rowclass5 = mergedbottomrow
|rowclass4 =  
|rowclass6 = mergedtoprow
|rowclass5 =  
|rowclass7 = mergedbottomrow
|rowclass6 =  
|rowclass8 = mergedtoprow
|rowclass7 =  
|rowclass9 = mergedbottomrow
|rowclass8 =  
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
</noinclude>