Template:Dragon infobox: Difference between revisions
From Tolkien Gateway
(Added gallery and image caption) |
m (Changed usage) |
||
Line 1: | Line 1: | ||
<table border="0" cellspacing="0" cellpadding="4" style="float: right; margin:0 0 .5em .5em; width: 272px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #900; line-height:1.5;"> <tr style="color: white; background: #900; font-size: larger;"><th colspan="2" style="padding-bottom: 0; padding-top: 0;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><td colspan="2" style="padding: 0; background: #900; font-size: 80%; text-align: center;" class="seqcream">[[Dragons|Dragon]]</td></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #900; color: white;">{{{image}}}</th></tr> <tr><td colspan="2" class="seqcream" style="background: #900; color: white; font-size: 80%; text-align: center; padding-left: 10px; padding-right: 10px; height: 2px;">{{{caption|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #000; font-size: 80%; color: white;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{titles|}}}{{{realm|}}}{{{affiliation|}}}{{{hoard|}}}{{{birth|}}}{{{birthlocation|}}}{{{death|}}}{{{deathlocation|}}}{{{slayer|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Titles</td><td style="font-size: 80%;">{{{titles}}}</td></tr>|1{{{titles|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Realm</td><td style="font-size: 80%;">{{{realm}}}</td></tr>|1{{{realm|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hoard</td><td style="font-size: 80%;">{{{hoard}}}</td></tr>|1{{{hoard|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Affiliation</td><td style="font-size: 80%;">{{{affiliation}}}</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Appeared</td><td style="font-size: 80%;">{{{birth|}}} {{#if:{{{birth|}}}|<br>}} {{{birthlocation|}}}</td></tr>|1{{{birth|}}}{{{birthlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Death</td><td style="font-size: 80%;">{{#if:{{{death|}}}|{{{death|}}} <br>{{t|1={{{deathlocation|}}}|{{{deathlocation|}}}}}}}</td></tr>|1{{{death|}}}{{{deathlocation|}}}{{{slayer|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Slain by</td><td style="font-size: 80%;">{{{slayer}}}</td></tr>|1{{{slayer|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #000; font-size: 80%; color: white;">'''Physical Description'''</th></tr>|1{{{type|}}}{{{legs|}}}{{{wings|}}}{{{colour|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Type</td><td style="font-size: 80%;">{{{type}}}</td></tr>|1{{{type|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Legs</td><td style="font-size: 80%;">{{{legs}}}</td></tr>|1{{{legs|}}}=}}{{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Winged</td><td style="font-size: 80%;">{{{wings}}}</td></tr>|1{{{wings|}}}=}}{{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Colour</td><td style="font-size: 80%;">{{{colour}}}</td></tr>|1{{{colour|}}}=}} {{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|<tr style="vertical-align: top;"><td style="font-size: 80%;">'''Gallery'''</td><td style="font-size: 80%;">'''[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]'''</td></tr>}}</table></includeonly><noinclude> | <includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin:0 0 .5em .5em; width: 272px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #900; line-height:1.5;"> <tr style="color: white; background: #900; font-size: larger;"><th colspan="2" style="padding-bottom: 0; padding-top: 0;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><td colspan="2" style="padding: 0; background: #900; font-size: 80%; text-align: center;" class="seqcream">[[Dragons|Dragon]]</td></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #900; color: white;">{{{image}}}</th></tr> <tr><td colspan="2" class="seqcream" style="background: #900; color: white; font-size: 80%; text-align: center; padding-left: 10px; padding-right: 10px; height: 2px;">{{{caption|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #000; font-size: 80%; color: white;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{titles|}}}{{{realm|}}}{{{affiliation|}}}{{{hoard|}}}{{{birth|}}}{{{birthlocation|}}}{{{death|}}}{{{deathlocation|}}}{{{slayer|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Titles</td><td style="font-size: 80%;">{{{titles}}}</td></tr>|1{{{titles|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Realm</td><td style="font-size: 80%;">{{{realm}}}</td></tr>|1{{{realm|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hoard</td><td style="font-size: 80%;">{{{hoard}}}</td></tr>|1{{{hoard|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Affiliation</td><td style="font-size: 80%;">{{{affiliation}}}</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Appeared</td><td style="font-size: 80%;">{{{birth|}}} {{#if:{{{birth|}}}|<br>}} {{{birthlocation|}}}</td></tr>|1{{{birth|}}}{{{birthlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Death</td><td style="font-size: 80%;">{{#if:{{{death|}}}|{{{death|}}} <br>{{t|1={{{deathlocation|}}}|{{{deathlocation|}}}}}}}</td></tr>|1{{{death|}}}{{{deathlocation|}}}{{{slayer|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Slain by</td><td style="font-size: 80%;">{{{slayer}}}</td></tr>|1{{{slayer|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #000; font-size: 80%; color: white;">'''Physical Description'''</th></tr>|1{{{type|}}}{{{legs|}}}{{{wings|}}}{{{colour|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Type</td><td style="font-size: 80%;">{{{type}}}</td></tr>|1{{{type|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Legs</td><td style="font-size: 80%;">{{{legs}}}</td></tr>|1{{{legs|}}}=}}{{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Winged</td><td style="font-size: 80%;">{{{wings}}}</td></tr>|1{{{wings|}}}=}}{{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Colour</td><td style="font-size: 80%;">{{{colour}}}</td></tr>|1{{{colour|}}}=}} {{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|<tr style="vertical-align: top;"><td style="font-size: 80%;">'''Gallery'''</td><td style="font-size: 80%;">'''[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]'''</td></tr>}}</table></includeonly><noinclude> | ||
{{Dragon infobox | {{Dragon infobox | ||
| name={{{name}}} | |||
| image={{{image}}} | | image={{{image}}} | ||
| | | caption={{{caption}}} | ||
| othernames={{{othernames}}} | | othernames={{{othernames}}} | ||
| titles={{{titles}}} | | titles={{{titles}}} | ||
Line 21: | Line 22: | ||
==Usage== | ==Usage== | ||
<pre>{{Dragon infobox | <pre>{{Dragon infobox | ||
| name= | |||
| image= | | image= | ||
| | | caption= | ||
| othernames= | | othernames= | ||
| titles= | | titles= |
Revision as of 10:16, 22 November 2015
{{{name}}} | |
---|---|
Dragon | |
{{{image}}} | |
{{{caption}}} | |
Biographical Information | |
Other names | {{{othernames}}} |
Titles | {{{titles}}} |
Realm | {{{realm}}} |
Hoard | {{{hoard}}} |
Affiliation | {{{affiliation}}} |
Appeared | {{{birth}}} {{{birthlocation}}} |
Death | {{{death}}} {{{deathlocation}}} |
Slain by | {{{slayer}}} |
Physical Description | |
Type | {{{type}}} |
Legs | {{{legs}}} |
Winged | {{{wings}}} |
Colour | {{{colour}}} |
Usage
{{Dragon infobox | name= | image= | caption= | othernames= | titles= | realm= | affiliation= | hoard= | birth= | birthlocation= | death= | deathlocation= | slayer= | type= | legs= | wings= | colour= }}