Template:US-State: Difference between revisions
Content added Content deleted
(Linking explicitly to {{{region}}} and adding example) |
(Adding categories, and turning example into subst so that I don't clutter categories (after I fix the example)) |
||
Line 3: | Line 3: | ||
== Advocacy == |
== Advocacy == |
||
:''main article: [[Advocacy/United States/{{{region}}}#{{{name}}}]]'' |
:''main article: [[Advocacy/United States/{{{region}}}#{{{name}}}]]'' |
||
[[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.... |
'''Template:US-State''' is a "subst only" template for US states. Go look on Wikipedia to understand what subst only templates are.... |
||
Line 42: | Line 46: | ||
=== Result === |
=== Result === |
||
<blockquote>{{ |
<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> |
</noinclude> |
Latest revision as of 17:22, 23 June 2020
Template:US-State is a "subst only" template for US states. Go look on Wikipedia to understand what subst only templates are....
VisualEditor
This template can be added via VisualEditor. Here's what shows up when adding fields:
'''Template:US-State''' is a "subst only" template for US states. Go look on Wikipedia to understand what subst only templates are....
Parameter | Description | Type | Status | |
---|---|---|---|---|
State/Territory | name state territory | The name of the state or territory, with the name that is most likely to show up on [[English Wikipedia]] | Unknown | required |
Region/Timezone | region timezone | The region of the [[United States]] this is in. Typically Eastern, Central, Mountain or Pacific | Unknown | required |
Examples
Example 1
{{US-State|state=Idaho|region=Mountain}}
Result
Idaho is a state in the Mountain region of the United States.
Advocacy
- main article: Advocacy/United States/Mountain#Idaho