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 |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|State=Delaware | |State=Delaware | ||
|City=Wilmington | |City=Wilmington | ||
|District=7th District | |||
}} | }} | ||
</pre> | </pre> | ||
Line 12: | Line 13: | ||
-->{{#if: {{{State|}}}| / [[State::{{{State|}}}]]}}<!-- | -->{{#if: {{{State|}}}| / [[State::{{{State|}}}]]}}<!-- | ||
-->{{#if: {{{City|}}}| / [[City::{{{City|}}}]]}}<!-- | -->{{#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> | --></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 }}