Difference between revisions of "Template:Location"
From MahouMUSH
| (42 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
| − | .LocationTable {width:100%; border: | + | .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: | + | .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: | + | .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: | + | .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: | + | .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: | + | #LocationAlignment {background-color: #e1ffe4; border: 10px;} |
| − | #LocationGroup {background-color: | + | #LocationGroup {background-color: #bfe1eb; border: 10px;} |
| − | #LocationType {background-color: | + | #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=" | + | ! colspan="5" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }} |
|- | |- | ||
| − | | id="LocationAlignment" | | + | | id="LocationAlignment" | Allied Faction: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]] |
|- | |- | ||
| − | | id="LocationGroup" | | + | | id="LocationGroup" | Allied Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}} |
|- | |- | ||
| id="LocationType" | Location Type: || id="LocationType" | {{#set:Locationtype={{{type|Undefined}}}}}{{{type}}} | | id="LocationType" | Location Type: || id="LocationType" | {{#set:Locationtype={{{type|Undefined}}}}}{{{type}}} | ||
|- | |- | ||
| − | | | + | | id="LocationMap" | Grid Locale: || id="LocationMap" | {{#set:Locationmap={{{type|Undefined}}}}}{{{map}}} |
| − | |} [[Category:Locations]] [[Category:Information Files]] {{#set:Information=Locations}}</includeonly><noinclude> | + | |- |
| + | | 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 | ||
| Line 26: | Line 32: | ||
| groups = Groups, delimited by commas, that are associated with this location. | | groups = Groups, delimited by commas, that are associated with this location. | ||
| type = Residence, Business, or Public Space. | | type = Residence, Business, or Public Space. | ||
| + | | map = Where it is on the grid. | ||
| description = Describe the location. | | description = Describe the location. | ||
}}</pre> | }}</pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:17, 25 May 2017
{{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.
}}