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
 
(4 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|}}}|&nbsp;/&nbsp;[[State::{{{State|}}}]]}}<!--
-->{{#if: {{{State|}}}|&nbsp;/&nbsp;[[State::{{{State|}}}]]}}<!--
-->{{#if: {{{City|}}}|&nbsp;/&nbsp;[[City::{{{City|}}}]]}}<!--
-->{{#if: {{{City|}}}|&nbsp;/&nbsp;[[City::{{{City|}}}]]}}<!--
--></div>[[Category:Location]]</includeonly>
-->{{#if: {{{District|}}}|&nbsp;/&nbsp;[[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
}}