Template:US-State: Difference between revisions

Adding templatedata
(Basic subst-only template)
 
(Adding templatedata)
Line 5:
:''main article: [[Advocacy/United States/{{{region}}}#{{{name}}}]]''</includeonly><noinclude>
'''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:
 
<templatedata>
{
"params": {
"name": {
"aliases": [
"state",
"territory"
],
"label": "State/Territory",
"description": "The name of the state or territory, with the name that is most likely to show up on [[English Wikipedia]]",
"required": true
},
"region": {
"aliases": [
"timezone"
],
"label": "Region/Timezone",
"description": "The region of the [[United States]] this is in. Typically Eastern, Central, Mountain or Pacific",
"required": true
}
},
"description": "'''Template:US-State''' is a \"subst only\" template for US states. Go look on Wikipedia to understand what subst only templates are...."
}
</templatedata>
</noinclude>