Difference between revisions of "Template:Location"

From MahouMUSH
Jump to: navigation, search
m (Reverted edits by Phishfood (talk) to last revision by Rocky Road)
Line 8: Line 8:
 
  #LocationAlignment {background-color: rgba(0,70,70,.2); border: 0px;}
 
  #LocationAlignment {background-color: rgba(0,70,70,.2); border: 0px;}
 
  #LocationGroup {background-color: rgba(0,70,70,.2); border: 0px;}
 
  #LocationGroup {background-color: rgba(0,70,70,.2); border: 0px;}
#LocationType {background-color: rgba(0,70,70,.2); border: 0px;}
 
 
  #LocationDescription {background-color: rgba(0,70,70,.3); border: 0px; font-weight:normal; border-radius:0px 0px 10px 10px;}
 
  #LocationDescription {background-color: rgba(0,70,70,.3); border: 0px; font-weight:normal; border-radius:0px 0px 10px 10px;}
 
}}{| class="LocationTable"  
 
}}{| class="LocationTable"  
! colspan="1" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }}  
+
! colspan="4" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }}  
 
|-
 
|-
 
| id="LocationAlignment" | Average Alignment: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]]
 
| id="LocationAlignment" | Average Alignment: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]]
|-
 
 
| id="LocationGroup"    | Associated Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}}
 
| id="LocationGroup"    | Associated Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}}
|-
 
| id="LocationType" | Location Type: || id="LocationType" | {{#set:Locationtype={{{type|Undefined}}}}}[[{{{type}}}]]
 
 
|-
 
|-
 
| colspan="4" id="LocationDescription" | {{{description}}}
 
| colspan="4" id="LocationDescription" | {{{description}}}
Line 23: Line 19:
 
<pre>{{Location
 
<pre>{{Location
 
| locationimage = image.ext
 
| locationimage = image.ext
| alignment    = Is there a faction this location is primarily affiliated with?
+
| alignment    = What Force does it fall under?
| groups        = Groups, delimited by commas, that are associated with this location.
+
| groups        = Groups, delimited by commas, that are assiated with this location.
| type          = Residence, Business, or Public Space.
+
| description  = Describe the Location.
| description  = Describe the location.
+
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 01:13, 22 May 2017

{{Location
| locationimage = image.ext
| alignment     = What Force does it fall under?
| groups        = Groups, delimited by commas, that are assiated with this location.
| description   = Describe the Location.
}}