Template:Infobox school: Difference between revisions
From Will to Power Wiki
Robyn.Blaber (talk | contribs) Created page with "<div class="ot-infobox"> <div class="ot-infobox-title">{{{title|{{PAGENAME}}}}}</div> <div class="ot-infobox-subtitle">{{{archetype|substrain}}} School</div> {{#if:{{{image|}}}|<div class="ot-infobox-image">{{{image}}}</div> }}{{#if:{{{caption|}}}|<div class="ot-infobox-caption">{{{caption}}}</div> }}<table class="ot-infobox-table"> {{#if:{{{archetype|}}}|<tr><th>Training for</th><td>{{{type_of}}}</td></tr> }}{{#if:{{{substrain|}}}|<tr..." |
Robyn.Blaber (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<div class="ot-infobox"> | <div class="ot-infobox"> | ||
<div class="ot-infobox-title">{{{title|{{PAGENAME}}}}}</div> | <div class="ot-infobox-title">{{{title|{{PAGENAME}}}}}</div> | ||
<div class="ot-infobox-subtitle">{{{archetype|substrain}}} School</div> | <div class="ot-infobox-subtitle">{{#if:{{{archetype|}}}|{{{archetype}}}|{{{substrain|Unknown}}}}} School</div> | ||
{{#if:{{{image|}}}|<div class="ot-infobox-image">{{{image}}}</div> | {{#if:{{{image|}}}|<div class="ot-infobox-image">{{{image}}}</div> | ||
}}{{#if:{{{caption|}}}|<div class="ot-infobox-caption">{{{caption}}}</div> | }}{{#if:{{{caption|}}}|<div class="ot-infobox-caption">{{{caption}}}</div> | ||
}}<table class="ot-infobox-table"> | }}<table class="ot-infobox-table"> | ||
{{#if:{{{archetype|}}}|<tr><th>Training for</th><td>{{{ | {{#if:{{{archetype|}}}| | ||
<tr><th>Training for</th><td>{{{archetype}}}</td></tr> | |||
}}</table> | |{{#if:{{{substrain|}}}| | ||
<tr><th>Training for</th><td>{{{substrain}}}</td></tr> | |||
}}}} | |||
{{#if:{{{location|}}}|<tr><th>Location</th><td>{{{location}}}</td></tr>}} | |||
{{#if:{{{headmaster|}}}|<tr><th>Headmaster</th><td>{{{headmaster}}}</td></tr>}} | |||
</table> | |||
</div><noinclude>[[Category:Infobox Templates]] | </div><noinclude>[[Category:Infobox Templates]] | ||
| Line 13: | Line 19: | ||
<pre> | <pre> | ||
{{Infobox school | {{Infobox school | ||
| title | | title = | ||
| archetype | | archetype = | ||
| image | | substrain = | ||
| caption | | image = | ||
| | | caption = | ||
| location = | |||
| headmaster = | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:34, 6 April 2026
Infobox school
Unknown School
Example usage
{{Infobox school
| title =
| archetype =
| substrain =
| image =
| caption =
| location =
| headmaster =
}}