Template:US-State: Difference between revisions

Adding categories, and turning example into subst so that I don't clutter categories (after I fix the example)
(Adding templatedata)
(Adding categories, and turning example into subst so that I don't clutter categories (after I fix the example))
 
(One intermediate revision by the same user not shown)
Line 1:
<includeonly>{{wikipedia|{{{name}}}}}
'''{{{name}}}''' is a state in the [[{{{region}}} United States|{{{region}}} region]] of Americathe [[United States]].
 
== Advocacy ==
:''main article: [[Advocacy/United States/{{{region}}}#{{{name}}}]]''</includeonly><noinclude>
 
[[Category:{{{name}}}|*]]
[[Category:{{{region}}} United States]]
</includeonly><noinclude>
'''Template:US-State''' is a "subst only" template for US states. Go look on Wikipedia to understand what subst only templates are....
 
Line 33 ⟶ 37:
}
</templatedata>
 
== Examples ==
 
=== Example 1 ===
 
<code><nowiki>{{US-State|state=Idaho|region=Mountain}}</nowiki></code>
 
=== Result ===
 
<blockquote>{{wikipedia|Idaho}}
'''Idaho''' is a state in the [[Mountain United States|Mountain region]] of the [[United States]].
 
== Advocacy ==
:''main article: [[Advocacy/United States/Mountain#Idaho]]''</blockquote>
</noinclude>