Difference between revisions of "Template:Location"

From Radiant Heart MUSH

m (1 revision imported)
Line 1: Line 1:
 
<includeonly>{{#css:
 
<includeonly>{{#css:
  .LocationTable {width:100%; border: 1px solid #aaaaaa; background-color: #f9f9f9; text-align:left; border-radius: 10px; vertical-align:top; border-spacing:0px;}
+
  .LocationTable {width:100%; border: 0px solid #aaaaaa; background-color: #80c4d8; text-align:left; border-radius: 10px; vertical-align:top; border-spacing:0px;}
  .LocationTable th:nth-child(1) {width:10%; padding: 0px 0px 0px 10px; border-radius: 10px 10px 0px 0px}
+
  .LocationTable th:nth-child(1) {width:10%; padding: 10px 10px 10px 10px; border-radius: 10px 10px 0px 0px}
  .LocationTable td:nth-child(1) {width:10%; padding: 0px 0px 0px 10px;}
+
  .LocationTable td:nth-child(1) {width:10%; padding: 10px 10px 10px 10px;}
  .LocationTable tr:nth-child(1) {text-shadow:1px 1px 1px gray; background-color: rgba(0,70,70,.5);}
+
  .LocationTable tr:nth-child(1) {text-shadow:1px 1px 1px gray; background-color: #80c4d8; padding: 10px 10px 10px 10px;}
  .LocationTable tr:nth-child(1) th { padding: 5px; font-family: serif; font-size:72px; word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
+
  .LocationTable tr:nth-child(1) th {padding: 10px 10px 10px 10px; font-family: serif; font-size:36px; word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
  .LocationTable td:nth-child(odd) {font-weight:700;}
+
  .LocationTable td:nth-child(odd) {font-weight:700; padding: 10px 10px 10px 10px;}
  #LocationAlignment {background-color: rgba(0,70,70,.2); border: 0px;}
+
  #LocationAlignment {background-color: #e1ffe4; border: 10px;}
  #LocationGroup {background-color: rgba(0,70,70,.2); border: 0px;}
+
  #LocationGroup {background-color: #bfe1eb; border: 10px;}
  #LocationDescription {background-color: rgba(0,70,70,.3); border: 0px; font-weight:normal; border-radius:0px 0px 10px 10px;}
+
  #LocationType {background-color: #e1ffe4; border: 10px;}
 +
#LocationMap {background-color: #bfe1eb; border: 10px;}
 +
#LocationDescription {background-color: #e1ffe4; border: 10px; padding: 10px 10px 10px 0px;}
 
}}{| class="LocationTable"  
 
}}{| class="LocationTable"  
! colspan="4" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }}  
+
! colspan="5" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }}  
 
|-
 
|-
| id="LocationAlignment" | Average Alignment: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]]
+
| id="LocationAlignment" | Allied Faction: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]]
| id="LocationGroup"    | Associated Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}}
 
 
|-
 
|-
| colspan="4" id="LocationDescription" | {{{description}}}
+
| id="LocationGroup"    | Allied Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}}
|}  [[Category:Locations]] [[Category:Information Files]] {{#set:Information=Locations}}</includeonly><noinclude>
+
|-
 +
| id="LocationType" | Location Type: || id="LocationType" | {{#set:Locationtype={{{type|Undefined}}}}}{{{type}}}
 +
|-
 +
| id="LocationMap" | Grid Locale: || id="LocationMap" | {{#set:Locationmap={{{type|Undefined}}}}}{{{map}}}
 +
|-
 +
| id="LocationDescription" |  || id="LocationDescription" | {{{description}}}
 +
|}   
 +
==Associated Logs==
 +
{{Location logs|{{PAGENAME}}}}
 +
[[Category:Locations]] [[Category:Information Files]] {{#set:Information=Locations}}</includeonly><noinclude>
 
<pre>{{Location
 
<pre>{{Location
 
| locationimage = image.ext
 
| locationimage = image.ext
| alignment    = What Force does it fall under?
+
| alignment    = Is there a faction this location is primarily affiliated with?
| groups        = Groups, delimited by commas, that are assiated with this location.
+
| groups        = Groups, delimited by commas, that are associated with this location.
| description  = Describe the Location.
+
| type          = Residence, Business, or Public Space.
 +
| map          = Where it is on the grid.
 +
| description  = Describe the location.
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 07:07, 3 November 2023

{{Location
| locationimage = image.ext
| alignment     = Is there a faction this location is primarily affiliated with?
| groups        = Groups, delimited by commas, that are associated with this location.
| type          = Residence, Business, or Public Space.
| map           = Where it is on the grid.
| description   = Describe the location.
}}