Template:US town navigation box: Difference between revisions
m (Text replacement - "/learn/wiki" to "/wiki") |
(create page) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
|name = {{{template_name|}}} | |name = {{{template_name|}}} | ||
|style = width: | |style = width: 100%; | ||
|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/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/learn/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| | |image = {{#if: {{{map_image|}}} | [[Image:{{{map_image|}}}|{{#if:{{{map_size|}}}|{{{map_size|}}}px|180px}}|center|{{{map_caption|{{{county|County/Parish}}} map}}}]] |}} | ||
|titleclass=adr | |titleclass=adr | ||
|title = | |title = Municipalities and communities of<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}}} | ||
| 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/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/learn/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/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/learn/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/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/learn/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/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/learn/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/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/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="14" _fck_mw_includeonly="true">}}}|<div> | ||
{{{body1}}} | {{{body1}}} | ||
</div>}} | |||
|group2 = '''{{{title2<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="13" _fck_mw_includeonly="true">}}}''' | |||
|list2 = {{#if:{{{body2<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="12" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body2}}} | |||
</div>}} | |||
|group3 = '''{{{title3<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="11" _fck_mw_includeonly="true">}}}''' | |||
|list3 = {{#if:{{{body3<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="10" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body3}}} | |||
</div>}} | |||
|group4 = '''{{{title4<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="9" _fck_mw_includeonly="true">}}}''' | |||
|list4 = {{#if:{{{body4<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="8" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body4}}} | |||
</div>}} | |||
|group5 = '''{{{title5<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="7" _fck_mw_includeonly="true">}}}''' | |||
|list5 = {{#if:{{{body5<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="6" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body5}}} | |||
</div>}} | |||
|group6 = '''{{{title6<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="5" _fck_mw_includeonly="true">}}}''' | |||
|list6 = {{#if:{{{body6<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="4" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body6}}} | |||
</div>}} | |||
|group7 = '''{{{title7<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="3" _fck_mw_includeonly="true">}}}''' | |||
|list7 = {{#if:{{{body7<img class="FCK__MWIncludeonly" src="https://www.familysearch.org/learn/wiki/en/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" _fckfakelement="true" _fckrealelement="2" _fck_mw_includeonly="true">}}}|<div> | |||
{{{body7}}} | |||
</div>}} | </div>}} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 13:27, 23 April 2012
|
[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. |