Template:US town navigation box: Difference between revisions
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 | |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 | |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>}} |
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. |