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

From Gynopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 14: Line 14:
-->{{#if: {{{City|}}}|&nbsp;/&nbsp;[[City::{{{City|}}}]]}}<!--
-->{{#if: {{{City|}}}|&nbsp;/&nbsp;[[City::{{{City|}}}]]}}<!--
-->{{#if: {{{District|}}}|&nbsp;/&nbsp;[[District::{{{District|}}}]]}}<!--
-->{{#if: {{{District|}}}|&nbsp;/&nbsp;[[District::{{{District|}}}]]}}<!--
-->{{#if: {{{District|}}}|{{#set:Type=District}}|{{#if:{{{City|}}}|{{#set:Type=City}}|{{#if: {{{State|}}}|{{#set:Type=State}}|{{#if: {{{Country|}}}|{{#set:Type=Country}}}}}}}}}}<!--
-->{{#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
}}