Gynopedia needs your support! Please consider contributing content, translating a page, or making a donation today. With your support, we can sustain and expand the website. Gynopedia has no corporate sponsors or advertisers. Your support is crucial and deeply appreciated.
Template:SetLocation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This template adds location information to page. Usage: | This template adds location information to page. Usage: | ||
<pre> | <pre> | ||
{{ | {{setLocation | ||
| | |Country=Unites States | ||
|State=Delaware | |||
|City=Wilmington | |||
|District=7th District | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly><div id="geoBreadcrumbs"><!-- | ||
-->{{#if: {{{Country|}}}|[[Country::{{{Country|}}}]]}}<!-- | |||
</includeonly> | -->{{#if: {{{State|}}}| / [[State::{{{State|}}}]]}}<!-- | ||
-->{{#if: {{{City|}}}| / [[City::{{{City|}}}]]}}<!-- | |||
-->{{#if: {{{District|}}}| / [[District::{{{District|}}}]]}}<!-- | |||
-->{{#if: {{{District|}}}|{{#set:Type=District}}|{{#if:{{{City|}}}|{{#set:Type=City}}|{{#if: {{{State|}}}|{{#set:Type=Region}}|{{#if: {{{Country|}}}|{{#set:Type=Country}}}}}}}}}}<!-- | |||
--></div>{{#set:Pagename={{PAGENAME}}}}[[Category:Location]]</includeonly> |
Latest revision as of 20:37, 25 July 2016
This template adds location information to page. Usage:
{{setLocation |Country=Unites States |State=Delaware |City=Wilmington |District=7th District }}