Template:USA-stateCategoryHeader: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (Text replacement - "Category:Cities" to "Category:City")
(Simplify code, improve description and usage)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>'''{{FULLPAGENAME}}''' — this specific [[category]] here on WikiIndex contains a list of [[article]]s (and any [[Special:Categories|sub-categories]]) of [[wiki]] sites about the {{tag|USA state|US state}} of '''{{Wp|{{PAGENAME}}}}''' within the [[:Category:United States of America|United States of America]] (USA).  It may also include [[:Category:People|people]], [[:Category:Places|places]], [[:Category:Geography|geography]], [[:Category:History|history]], [[:Category:Language|language(s)]], and / or any other pertinent information.[[Category:USA state]]</includeonly><noinclude>{{USA-stateCategoryHeader}}
<includeonly>'''{{NAMESPACE}}:&nbsp;{{PAGENAME}}''' — this specific [[category]] here on WikiIndex contains a list of [[article]]s (and any [[Special:Categories|sub-categories]]) of [[wiki]] sites about the {{tag|USA state|US state}} of '''{{Wp|{{PAGENAME}}}}''' within the [[:Category:United States of America|United States of America]] (USA).  It may also include [[:Category:People|people]], [[:Category:Places|places]], [[:Category:Geography|geography]], [[:Category:History|history]], [[:Category:Language|language(s)]], and / or any other pertinent information.  The {{Wp|List of U.S. state and territory abbreviations|US postal abbreviation}} for {{PAGENAME}} is '''{{{1|1}}}''', and its {{Wp|ISO 3166-2:US|ISO 3166-2}} code is '''US–{{{1|1}}}'''.[[Category:USA state]]</includeonly><noinclude>{{USA-stateCategoryHeader}}
----
----
;''For
;''For
This {{tag|Geographic templates|geographic template}} is used here on WikiIndex to produce a very brief introduction to [[Special:Categories|category]] articles of '''{{tag|USA state|US states}} within the [[:Category:United States of America|United States of America]]''' ('''USA'''), together with an [[interwiki]] link to the [[English Wikipedia]] article of the same name.
This {{tag|Geographic templates|geographic template}} is used here on WikiIndex to produce a brief introduction to [[Special:Categories|category]] articles of '''{{tag|USA state|US states}} within the [[:Category:United States of America|United States of America]]''' ('''USA'''), together with an [[interwiki]] link to the [[English Wikipedia]] (En.Wp) article of the same name.


;''Usage
;''Usage
Simply select and highlight <code><nowiki>{{USA-stateCategoryHeader}}</nowiki></code>, copy (<tt>Ctrl-c</tt> on your keyboard), and then paste (<tt>Ctrl-v</tt>) it at the <u>top</u> of the [[edit box]] of all categories of states of the USA listed here on WikiIndex, and then save your [[edit]].  Further descriptive text can be added immediately following the template code (leave two spaces, or two carriage returns); such as its official abbreviation, who it shares borders with (land borders with other states and / or countries, and maritime borders to water bodies), its capital [[:Category:City|city]], significant tourist or World Heritage features (which might have their own wiki), and any other notable information.  If you are not familiar with this latter information, simply add <code>{{Template|Category-stub}}</code> in addition to this template, so as to prompt other [[editor]]s to add required information.
Select and highlight <code><nowiki>{{USA-stateCategoryHeader|**}}</nowiki></code>, copy (<tt>Ctrl-c</tt> on your keyboard, or <tt>⌘-c</tt> on a Mac iOS), and then paste (<tt>Ctrl-v</tt> or <tt>⌘-v</tt>) it at the <u>top</u> of the [[edit box]] of all categories of states of the USA listed here on WikiIndex, then amend the two asterisks (<tt><nowiki>**</nowiki></tt>) within the template code to the double-capital letters of its official {{Wp|List of U.S. state and territory abbreviations|US postal abbreviation}}.
 
After previewing (<tt>Ctrl-p</tt> or <tt>⌘-p</tt>) to verify your changes, save your [[edit]] (<tt>Ctrl-s</tt> or <tt>⌘-s</tt>).  Further descriptive text can be added immediately following the template code (leave two spaces, or two carriage returns); such as its capital (and / or largest) [[:Category:City|city]], who it shares borders with (land borders with other states and / or countries, and maritime borders to water bodies), significant tourist or World Heritage features (which might have their own wiki), and any other notable information.  If you are not familiar with this latter information, simply add <code>{{Template|Category-stub}}</code> in addition to this template, so as to prompt other [[editor]]s to add required information.


The usage of this USA-stateCategoryHeader [[Special:Templates|template]] on any [[category]] page will auto-include it into [[:category: USA state]], itself a sub-category of [[:category: United States of America]].
The usage of this USA-stateCategoryHeader [[Special:Templates|template]] on any [[category]] page will auto-include it into [[:category: USA state]], itself a sub-category of [[:category: United States of America]].

Latest revision as of 19:36, 11 July 2023

Template: USA-stateCategoryHeader — this specific category here on WikiIndex contains a list of articles (and any sub-categories) of wiki sites about the US state of USA-stateCategoryHeader within the United States of America (USA). It may also include people, places, geography, history, language(s), and / or any other pertinent information. The US postal abbreviation for USA-stateCategoryHeader is 1, and its ISO 3166-2 code is US–1.


For

This geographic template is used here on WikiIndex to produce a brief introduction to category articles of US states within the United States of America (USA), together with an interwiki link to the English Wikipedia (En.Wp) article of the same name.

Usage

Select and highlight {{USA-stateCategoryHeader|**}}, copy (Ctrl-c on your keyboard, or ⌘-c on a Mac iOS), and then paste (Ctrl-v or ⌘-v) it at the top of the edit box of all categories of states of the USA listed here on WikiIndex, then amend the two asterisks (**) within the template code to the double-capital letters of its official US postal abbreviation.

After previewing (Ctrl-p or ⌘-p) to verify your changes, save your edit (Ctrl-s or ⌘-s). Further descriptive text can be added immediately following the template code (leave two spaces, or two carriage returns); such as its capital (and / or largest) city, who it shares borders with (land borders with other states and / or countries, and maritime borders to water bodies), significant tourist or World Heritage features (which might have their own wiki), and any other notable information. If you are not familiar with this latter information, simply add {{Category-stub}} in addition to this template, so as to prompt other editors to add required information.

The usage of this USA-stateCategoryHeader template on any category page will auto-include it into category: USA state, itself a sub-category of category: United States of America.