Template:Infobox U.S. County: Difference between revisions

rework category surpression
m (fix parameter)
(rework category surpression)
Line 74: Line 74:
{{#if: {{{footnotes|}}} |
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
|}<!--Add the category automatically, except for some states-->{{{category|{{#switch:{{{state}}}
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
{{{!}}} Alaska=[[Category:Alaska boroughs]]
| Alaska={{{category|[[Category:Alaska boroughs]]}}}
{{{!}}} Georgia=[[Category:Georgia (U.S. state) counties]]
| Georgia={{{category|[[Category:Georgia (U.S. state) counties]]}}}
{{{!}}} Louisiana=[[Category:Louisiana parishes]]
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
{{{!}}} Washington=[[Category:Washington (U.S. state) counties]]
| Washington={{{category|[[Category:Washington (U.S. state) counties]]}}}
{{{!}}} {{namespace detect {{{!}}} main  = [[Category:{{{state}}} counties]] {{{!}}} other = }}
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
}} }}}</includeonly><noinclude>
}}</includeonly><noinclude>


{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
90,866

edits