Difference between revisions of "Template:Village"

From Electromagnetic Field
Jump to navigation Jump to search
(OOPS)
(Oh, it was that, I'm a knob)
Line 11: Line 11:
 
|Location=
 
|Location=
 
}}
 
}}
 +
</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 <nowiki>}}</nowiki>
 
</pre>
 
 
</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:#5E93CE; color: white;" colspan="2" |<big>[[Name::{{#explode:{{PAGENAME}}|:|1}}]]</big>
 
! style="text-align: center; background-color:#5E93CE; color: white;" colspan="2" |<big>[[Name::{{#explode:{{PAGENAME}}|:|1}}]]</big>
Line 39: Line 39:
 
|-
 
|-
 
!colspan="2"|[[Villages|View all Villages]]
 
!colspan="2"|[[Villages|View all Villages]]
|}{{#ifexpr:{{{HideList}}}!=true|{{inhabitants}}|}}
+
|}{{#ifexpr: {{{HideList|}}}!=true|{{inhabitants}}}}
 
[[Category:Villages]]
 
[[Category:Villages]]
 
</includeonly>
 
</includeonly>

Revision as of 23:40, 2 August 2016

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=
|Location=
}}

To not include the list of village members, add |HideList=true before the }}