Template:US town navigation box: Difference between revisions

m
Text replacement - "/learn/wiki" to "/wiki"
m (fix template)
m (Text replacement - "/learn/wiki" to "/wiki")
 
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 18: Line 18:
}}|<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>}}