Template:US town navigation box: Difference between revisions

From FamilySearch Wiki
(647px)
m (Text replacement - "/learn/wiki" to "/wiki")
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
|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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="19" _fck_mw_includeonly="true">}}}||plain}}
|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 = Towns of {{{county}} in {{{state}}}<br clear=left><span class="region" style="font-size:110%; font-weight:bold;">[[{{{county}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{{county}}}</span>]], [[{{#switch:{{{state}}}
|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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="18" _fck_mw_includeonly="true">}}}|{{#switch:{{{state}}}
|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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="17" _fck_mw_includeonly="true">}}} | {{{seatname}}} | {{{seat}}} }}</span>]]'''}} <!--
}}: '''[[{{{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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="16" _fck_mw_includeonly="true">}}} | {{{seat2name}}} | {{{seat2}}} }}</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/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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="15" _fck_mw_includeonly="true">}}}'''
|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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="14" _fck_mw_includeonly="true">}}}|<div>
|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>}}

Latest revision as of 09:11, 9 April 2019

[create] Documentation icon Template documentation