Difference between revisions of "Template:Village"

From SHA2017 Wiki
Jump to: navigation, search
 
(42 intermediate revisions by 7 users not shown)
Line 20: Line 20:
 
Village_brings_big_stuff={{{Village brings big stuff|}}}|
 
Village_brings_big_stuff={{{Village brings big stuff|}}}|
 
Village_planning_notes={{{Village planning notes|}}}|
 
Village_planning_notes={{{Village planning notes|}}}|
Village_arrival_time={{{Village arrival time|}}}|
+
Village_Special_Vehicle={{{Village Special Vehicle|}}}|
Village_big_trucks={{{Village big trucks|}}}|
+
Village_content_in_frab={{{Village frab|}}}|
Villages_vehicles_unload_time={{{Villages vehicles unload time|}}}|
+
Village_space_for_content={{{Village content space|}}}|
Villages_buildup_hours={{{Villages buildup hours|}}}|
+
Village_Plans={{{Village Plans|}}}|+sep=;|
Villages_buildup_people_before_day0={{{Villages buildup people before day0|}}}|
+
Has_image_url={{filepath:{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}}}
Villages_buildup_people_day0={{{Villages buildup people day0|}}}|
+
}}{{Warning/ImproperValue}}{{#if: {{{VillageHeader|}}} | {{{VillageHeader}}}}}
Village_teardown_time={{{Village teardown time|}}}|
 
Village_buildup_notes={{{Village buildup notes|}}}|
 
Village_Plans={{{Village Plans|}}}|
 
}}{{Warning/ImproperValue}}
 
 
{| class="wikitable" name="infobox" style="float: right; width:400px"
 
{| class="wikitable" name="infobox" style="float: right; width:400px"
 
! Village Name
 
! Village Name
 
| [[Has name::{{{Has name|}}}]]
 
| [[Has name::{{{Has name|}}}]]
{{User/InfoBroadRow|Content={{GetImage|{{{Image|Village-{{PAGENAME}}}}}}}}}
+
|-
 +
| colspan="2" style="text-align:center" |
 +
{{GetImage|Village-{{#explode:{{PAGENAME}}|:|1}}}}
 +
{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|[[Picture::{{filepath:{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}}}|  ]]|}}
 
|-
 
|-
 
| colspan=2 | Generated SHA Flag <small>([https://sha2017.org/design/ experiment here])</small>
 
| colspan=2 | Generated SHA Flag <small>([https://sha2017.org/design/ experiment here])</small>
Line 50: Line 49:
 
! Part of Cluster
 
! Part of Cluster
 
| [[Part_of::{{{Part of|}}}]]
 
| [[Part_of::{{{Part of|}}}]]
 +
[[image:add.png|12x12px|link=Form:Cluster]] [[Form:Cluster|create cluster]]
 +
|-
 +
! Assigned Field
 +
| [[Has Field::{{{Has Field|}}}]]
 
|-
 
|-
 
! Description
 
! Description
Line 60: Line 63:
 
{{#ifexist: Template:Village/{{VillageRemovePrefix|{{PAGENAME}} }}| {{Village/{{VillageRemovePrefix|{{PAGENAME}} }} }} }}
 
{{#ifexist: Template:Village/{{VillageRemovePrefix|{{PAGENAME}} }}| {{Village/{{VillageRemovePrefix|{{PAGENAME}} }} }} }}
 
! Projects
 
! Projects
| {{#if: {{#ask: [[Category:Projects]] [[Located at village::{{PAGENAME}}]] }} | {{#ask: [[Category:Projects]] [[Located at village::{{PAGENAME}}]] |format=ul}}* [[image:add.png|14x14px|link=Form:Project]][[Form:Project|create project]] | [[Form:Project|create project]] }}
+
| {{#if: {{#ask: [[Category:Projects]] [[Located at village::{{PAGENAME}}]] }} | {{#ask: [[Category:Projects]] [[Located at village::{{PAGENAME}}]] |?Has name|format=ul|template=ProjectName|link=none}} | }}
 +
[[image:add.png|12x12px|link=Form:Project]] [[Form:Project|create project]]
 
|-
 
|-
 
! Self-organized Sessions
 
! Self-organized Sessions
| {{#if: {{#ask: [[Category:Session]] [[Processed by village::{{PAGENAME}}]] }} | {{#ask: [[Category:Session]] [[Processed by village::{{PAGENAME}}]]|format=ul}}*[[image:add.png|14x14px|link=Form:Session]][[Form:Session|create self-organized session]] | [[Form:Session|create self-organized session]] }}
+
| {{#if: {{#ask: [[Category:Session]] [[Processed by village::{{PAGENAME}}]] }} | {{#ask: [[Category:Session]] [[Processed by village::{{PAGENAME}}]]|format=ul}} | }}
 +
[[image:add.png|12x12px|link=Form:Session]] [[Form:Session|create self-organized session]]
 
|-
 
|-
 
{{#if: {{#ask: [[Village::+]] [[Subvillage of::{{PAGENAME}}]] }} |
 
{{#if: {{#ask: [[Village::+]] [[Subvillage of::{{PAGENAME}}]] }} |
Line 81: Line 86:
 
}}
 
}}
 
{{#if: {{{Has village tag|}}} |
 
{{#if: {{{Has village tag|}}} |
! Tags
+
! Interests
 
{{!}} {{#arraymaptemplate:{{{Has village tag|}}}|Village/TagLinks|,}}
 
{{!}} {{#arraymaptemplate:{{{Has village tag|}}}|Village/TagLinks|,}}
 
{{!}}-
 
{{!}}-
Line 89: Line 94:
 
|-
 
|-
 
! Hosts self-organized sessions
 
! Hosts self-organized sessions
| [[Provides session location::{{{Provides session location|}}}]] {{#ifeq: {{{Provides session location|}}} | no | | [[Category:Session location]] }}
+
| [[Provides session location::{{{Provides session location|}}}]] {{#ifeq: {{lc:{{{Provides session location|}}}}} | no | | [[Category:Session location]] }}
 
|-
 
|-
 
{{#if: {{{Plans sessions|}}} |
 
{{#if: {{{Plans sessions|}}} |
Line 97: Line 102:
 
}}
 
}}
 
| colspan=2 | {{Village/Navigation}}
 
| colspan=2 | {{Village/Navigation}}
|-
 
! Location
 
| [[Has location::{{{Location|}}}]] {{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|]]|}}
 
|-
 
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|width=400|height=300|service=openlayers|layers=osm-mapnik|zoom=18}}
 
 
|-
 
|-
 
| colspan=2 style="text-align:right;" | <small>{{Refresh}}</small>
 
| colspan=2 style="text-align:right;" | <small>{{Refresh}}</small>
|} {{Inhabitants}}
+
|} {{#if: {{{HideInhabitants|}}} | | {{Inhabitants}} }}
 
<div style="display: none;">
 
<div style="display: none;">
 
{|
 
{|
Line 125: Line 125:
 
|-
 
|-
 
! Village plans
 
! Village plans
| {{#if: {{{Village plans|}}} | {{#arraymap:{{{Village plans|}}}|;|x|[[Village plans::x]]}} }}
+
| {{#if: {{{Village Plans|}}}|{{#arraymap:{{{Village Plans|}}}|;|x|[[Village Plans::x]]}}}}
 
|-
 
|-
 
! Village constraints
 
! Village constraints
Line 151: Line 151:
 
</div>
 
</div>
 
<!--
 
<!--
{{#ifeq: {{{Provides session location|}}} | no | | {{Village/Calendar}} }}
+
{{#ifeq: {{lc:{{{Provides session location|}}}}} | no | | {{Village/Calendar}} }}
 
-->
 
-->
[[Category:Village]]
+
[[Category:Village]][[Category:{{{Has Field|No Field}}}]][[Category:Pages with interest]]
 +
{{MapObject|Handle = {{{MapObjectHandle|unknown}}}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 11:29, 2 August 2017

Please use Form:Village to create your village page. You can use the list of existing Villages as a reference.