Template:Village: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(remove location from help) |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
|WebAddress= | |WebAddress= | ||
|Activities= | |Activities= | ||
}} | }} | ||
</pre> | </pre> | ||
To not include the list of village members, add |HideList=true before the }} | To not include the list of village members, add |HideList=true before the }} | ||
</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;" | </noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9; border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;" | ||
! style="text-align: center; background-color:#07002c; color: white;" colspan="2" |<big>[[VillageName::{{#explode:{{PAGENAME}}|:|1}}]]</big> | ! style="text-align: center; background-color:#07002c; color: white !important;" colspan="2" |<big>[[VillageName::{{#explode:{{PAGENAME}}|:|1}}]]</big> | ||
|- | |- | ||
! colspan="2" | | ! colspan="2" | | ||
{{GetVillageImage|Village-{{#explode:{{PAGENAME}}|:|1}}}} | {{GetVillageImage|Village-{{#explode:{{PAGENAME}}|:|1}}}}{{#if:{{{Description|}}}|<nowiki></nowiki> | ||
{{!}}- | |||
! Description | ! Description | ||
{{!}} [[Description::{{{Description|}}}|]] {{{Description|}}} |}}{{#if:{{{Contact|}}}|<nowiki></nowiki> | |||
{{!}}- | {{!}}- | ||
! Contact | ! Contact | ||
{{!}} [[Contact::User:{{{Contact|}}}]] |}}{{#if: | {{!}} {{#ifexist:User:{{{Contact|}}}|[[Contact::User:{{{Contact|}}}]]|{{#ifexist:{{{Contact|}}}|[[Contact::{{{Contact|}}}]]|[[Contact::{{{Contact|}}}|]]{{{Contact|}}}}}}}}}{{#if:{{{WebAddress|}}}|<nowiki></nowiki> | ||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} [http://{{{WebAddress|}}} {{{WebAddress|}}}] |}} | {{!}} {{#ifeq:{{#explode:{{{WebAddress|}}}|:|0}}|http|[{{{WebAddress|}}} {{#explode:{{{WebAddress|}}}|/|2}}]|{{#ifeq:{{#explode:{{{WebAddress|}}}|:|0}}|https|[{{{WebAddress|}}} {{#explode:{{{WebAddress|}}}|/|2}}]|[http://{{{WebAddress|}}} {{{WebAddress|}}}] |}}}}}}{{#if:{{{Activities|}}}|<nowiki></nowiki> | ||
{{!}}- | |||
! Activities | ! Activities | ||
{{!}} [[Activities::{{{Activities|}}}|]]{{{Activities|}}} |}} | |||
{{InfoboxSubtitle|SubTitle=Location}} | {{InfoboxSubtitle|SubTitle=Location}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} | |||
<div id="villageMap">Map is loading.</div> | |||
{{#if:{{{Interests|}}}|<nowiki></nowiki> | |||
{{InfoboxSubtitle|SubTitle=Relevant interests}} | {{InfoboxSubtitle|SubTitle=Relevant interests}} | ||
{{!}}- | {{!}}- | ||
Line 44: | Line 41: | ||
|- | |- | ||
!colspan="2"|[[Villages|View all Villages]] | !colspan="2"|[[Villages|View all Villages]] | ||
|}{{#ifeq: {{{HideList|false}}}|true||{{inhabitants}}}} | |}{{#set: sidebaritem={{PAGENAME}}{{!}}{{#explode:{{PAGENAME}}|:|1}}}}{{#ifeq: {{{HideList|false}}}|true||{{inhabitants}}}} | ||
[[Category:Villages]] | [[Category:Villages]] | ||
</includeonly> | </includeonly> |
Latest revision as of 13:37, 13 August 2018
This is the "Village" template. The easiest way to use this template is to visit the Villages page and use the form to create a village.
It should be called in the following format:
{{Village |Description= |Contact= |WebAddress= |Activities= }}
To not include the list of village members, add |HideList=true before the }}