Template:Nation: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
| (120 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
Use the following to cut and paste into a new nation entry. IMPORTANT: Include an Overview prior to the use of this template on the page, using <nowiki>Template:Article_Reference</nowiki>. You must also bracket off the template body with the ''noinclude'' tag. | |||
<pre><nowiki> | |||
<includeonly>{{Article_Reference | |||
|article= | |||
}}</includeonly> | |||
Overview | |||
<no-include> | |||
{{TOC left}} | |||
{{Nation | |||
|name = | |||
|fullname = | |||
|emblem = | |||
|continent = | |||
|location = | |||
|government = | |||
|ruler = | |||
|arms = | |||
|coinage = | |||
|capital = | |||
|alliances = | |||
|hostilities = | |||
|population = | |||
|language = | |||
|persons = | |||
|pantheon = | |||
|patron = | |||
|geography = | |||
|history = | |||
|economy = | |||
|religion = | |||
|templates = | |||
|map= | |||
}} | |||
</no-include> | |||
</nowiki></pre> | |||
</noinclude><includeonly> | |||
<div class="nation_infobox"> | |||
<div class="row">'''{{{name}}}'''</div> | |||
{{ #if: {{{fullname|}}} |<div class="row">''{{{fullname}}}''</div>|}}{{ #if: {{{emblem|}}} |<div class="row">[[Image:{{{emblem}}}|center|175px|{{{arms}}}]]</div>|}}{{#ifexpr: {{#if:{{{continent|}}}|1|0}} or {{#if:{{{location|}}}|1|0}} | | |||
<div class="tableheader">'''Geographic Info'''</div> | |||
{{#if: {{{continent|}}} |<div class="row">'''Continent:''' [[:Category:{{{continent}}}|{{{continent}}}]]</div>[[Category:{{{continent}}}]]|}} | |||
{{ #if: {{{location|}}} |<div class="row">'''Location:''' {{{location}}}</div>|}}|}}{{#ifexpr: {{#if:{{{government|}}}|1|0}} or {{#if:{{{ruler|}}}|1|0}} or {{#if:{{{arms|}}}|1|0}} or {{#if:{{{coinage|}}}|1|0}} or {{#if:{{{capital|}}}|1|0}} or {{#if:{{{alliances|}}}|1|0}} or {{#if:{{{hostilities|}}}|1|0}} |<div class="tableheader">'''Government'''</div> | |||
{{ #if: {{{government|}}} |<div class="row">'''Government Type:''' {{{government}}}</div>|}}{{ #if: {{{ruler|}}} |<div class="row">'''Ruler:''' {{{ruler}}}</div>|}}{{ #if: {{{arms|}}} |<div class="row">'''Arms:''' {{{arms}}}</div>|}}{{ #if: {{{coinage|}}} |<div class="row">'''Coinage:''' {{{coinage}}}</div>|}}{{ #if: {{{capital|}}} |<div class="row">'''Capital:''' {{{capital}}}</div>|}}{{ #if: {{{alliances|}}} |<div class="row">'''Alliances:''' {{{alliances}}}</div>|}}{{ #if: {{{hostilities|}}} |<div class="row">'''Hostilities:''' {{{hostilities}}}</div>|}}|}} | |||
{{#ifexpr: {{#if:{{{population|}}}|1|0}} or {{#if:{{{language|}}}|1|0}} or {{#if:{{{persons|}}}|1|0}} |<div class="tableheader">'''Society'''</div> | |||
{{ #if: {{{population|}}} |<div class="row">'''Population:''' {{{population}}}</div>|}}{{ #if: {{{language|}}} |<div class="row">'''Languages:''' {{{language}}}</div>|}}{{ #if: {{{persons|}}} |<div class="row">'''Important Persons:''' {{{persons}}}</div>|}}|}}{{#ifexpr: {{#if:{{{pantheon|}}}|1|0}} or {{#if:{{{patron|}}}|1|0}}|<div class="tableheader">'''Religious Info'''</div> | |||
{{ #if: {{{pantheon|}}} |<div class="row">'''Pantheon:''' {{{pantheon}}}</div>|}}{{ #if: {{{patron|}}} |<div class="row">'''Patron:''' {{{patron}}}</div>|}}|}}{{#if: {{{templates|}}} |<div class="tableheader">'''Game Info'''</div> | |||
<div class="row">'''Cultural Templates:''' {{{templates}}}</div>|}}{{ #if: {{{map|}}} |<div class="tableheader">'''Map'''</div> | |||
<div class="row">[[File:{{{map}}}|250px|thumb|right|{{{name}}}]]</div>|}} | |||
</div> | |||
__FORCETOC__ | |||
{{ #if: {{{geography|}}} | | |||
== Geography == | == Geography == | ||
{{{geography}}} | {{{geography}}} | ||
| }} | |||
{{ #if: {{{history|}}} | | |||
== History == | == History == | ||
{{{history}}} | {{{history}}} | ||
| }} | |||
{{ #if: {{{economy|}}} | | |||
== Economy == | == Economy == | ||
{{{economy}}} | {{{economy}}} | ||
| }} | |||
{{ #if: {{{religion|}}} | | |||
== Religion == | == Religion == | ||
{{{religion}}} | {{{religion}}} | ||
<noinclude> | | }} | ||
{{ #if: {{{map|}}} | |{{NeedsMap}}}} | |||
{{ #if: {{{language|}}} | |[[Category: No Language]]}} | |||
[[Category:Nations]] | |||
</includeonly><noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:55, 10 January 2026
Use the following to cut and paste into a new nation entry. IMPORTANT: Include an Overview prior to the use of this template on the page, using Template:Article_Reference. You must also bracket off the template body with the noinclude tag.
<includeonly>{{Article_Reference
|article=
}}</includeonly>
Overview
<no-include>
{{TOC left}}
{{Nation
|name =
|fullname =
|emblem =
|continent =
|location =
|government =
|ruler =
|arms =
|coinage =
|capital =
|alliances =
|hostilities =
|population =
|language =
|persons =
|pantheon =
|patron =
|geography =
|history =
|economy =
|religion =
|templates =
|map=
}}
</no-include>