Template:US town navigation box: Difference between revisions
(create page) |
m (Text replacement - "/learn/wiki" to "/wiki") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
|name = {{{template_name|}}} | |name = {{{template_name|}}} | ||
|style = width: | |style = width: 647px; | ||
|state = {{{collapse_state|autocollapse}}} | |state = {{{collapse_state|autocollapse}}} | ||
|border = {{{border|{{{1|}}}}}} | |border = {{{border|{{{1|}}}}}} | ||
|navbar = {{#if:{{{template_name<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | |navbar = {{#if:{{{template_name<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="19" _fck_mw_includeonly="true">}}}||plain}} | ||
|basestyle = background: #EEEEEE; | |basestyle = background: #EEEEEE; | ||
Line 11: | Line 11: | ||
|abovestyle = text-align: center; {{#if:{{{color|}}}|background:{{{color}}};}}{{#if:{{{text_color|}}}|color:{{{text_color}}};}} | |abovestyle = text-align: center; {{#if:{{{color|}}}|background:{{{color}}};}}{{#if:{{{text_color|}}}|color:{{{text_color}}};}} | ||
|image = {{#if: {{{map_image|}}} | [[Image:{{{map_image|}}}|{{#if:{{{map_size|}}}|{{{map_size|}}}px|180px}}|center|{{{map_caption|{{{county|County/Parish}}} map}}}]] |}} | |image = {{#if: {{{map_image|}}} | [[Image:{{{map_image|}}}|{{#if:{{{map_size|}}}|{{{map_size|}}}px|180px}}|center|{{{map_caption|<nowiki>{{{county|County/Parish}}}</nowiki> map}}}]] |}} | ||
|titleclass=adr | |titleclass=adr | ||
|title = | |title = Towns of <nowiki>{{{county}}</nowiki> in {{{state}}}<br clear=left><span class="region" style="font-size:110%; font-weight:bold;"><nowiki>[[{{{county}}}</nowiki>, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}><nowiki>{{{county}}}</nowiki></span>]], [[{{#switch:{{{state}}} | ||
| Georgia = {{{state}}} (U.S. state) | | Georgia = {{{state}}} (U.S. state) | ||
| #default = {{{state}}} | | #default = {{{state}}} | ||
}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{{state}}}</span>]]</span> | }}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{{state}}}</span>]]</span> | ||
|above = {{#if:{{{seat<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | |above = {{#if:{{{seat<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="18" _fck_mw_includeonly="true">}}}|{{#switch:{{{state}}} | ||
| Alaska = [[Borough seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Borough seat{{#if:{{{seat2|}}}|s}}</span>]] | | Alaska = [[Borough seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Borough seat{{#if:{{{seat2|}}}|s}}</span>]] | ||
| Louisiana = [[Parish seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Parish seat{{#if:{{{seat2|}}}|s}}</span>]] | | Louisiana = [[Parish seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Parish seat{{#if:{{{seat2|}}}|s}}</span>]] | ||
| Vermont = [[Shire town|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Shire town{{#if:{{{seat2|}}}|s}}</span>]] | | Vermont = [[Shire town|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>Shire town{{#if:{{{seat2|}}}|s}}</span>]] | ||
| #default = County seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>County seat{{#if:{{{seat2|}}}|s}}</span> | | #default = County seat|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>County seat{{#if:{{{seat2|}}}|s}}</span> | ||
}}: '''[[{{{seat}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{ #if: {{{seatname<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | }}: '''[[{{{seat}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{ #if: {{{seatname<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="17" _fck_mw_includeonly="true">}}} | {{{seatname}}} | {{{seat}}} }}</span>]]'''}} <!-- | ||
-->{{#if:{{{seat2|}}}| and '''[[{{{seat2}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{ #if: {{{seat2name<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | -->{{#if:{{{seat2|}}}| and '''[[{{{seat2}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{ #if: {{{seat2name<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="16" _fck_mw_includeonly="true">}}} | {{{seat2name}}} | {{{seat2}}} }}</span>]]'''}} | ||
|group1 = '''{{{title1<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | |group1 = '''{{{title1<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="15" _fck_mw_includeonly="true">}}}''' | ||
|list1 = {{#if:{{{body1<img class="FCK__MWIncludeonly" src="https://www.familysearch.org | |list1 = {{#if:{{{body1<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="14" _fck_mw_includeonly="true">}}}|<div> | ||
{{{body1}}} | {{{body1}}} | ||
</div>}} | </div>}} | ||
}}<noinclude> | }}<noinclude> |
Latest revision as of 09:11, 9 April 2019
|
[create]
Template documentation

history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |