Difference between revisions of "Template:Location logs"
From MahouMUSH
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#css: |
− | {{#css: | + | .LocationTable {width:100%; border: 1px solid #aaaaaa; background-color: #f9f9f9; 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 td:nth-child(1) {width:10%; padding: 0px 0px 0px 10px;} | |
− | + | .LocationTable tr:nth-child(1) {text-shadow:1px 1px 1px gray; background-color: rgba(0,70,70,.5);} | |
− | + | .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 td:nth-child(odd) {font-weight:700;} | |
− | + | #LocationAlignment {background-color: rgba(0,70,70,.3); border: 0px;} | |
− | + | #LocationGroup {background-color: rgba(0,70,70,.2); border: 0px;} | |
− | + | #LocationType {background-color: rgba(0,70,70,.3); border: 0px;} | |
− | + | #LocationMap {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;} | |
− | + | }}{| class="LocationTable" | |
− | + | ! colspan="5" align="Center"| {{#if:{{{locationimage|}}} | [[File:{{{locationimage}}}|400x400px]]| {{PAGENAME}} }} | |
− | + | |- | |
+ | | id="LocationAlignment" | Allied Faction: || id="LocationAlignment" | {{#set:Locationalignment={{{alignment|Undefined}}}}}[[{{{alignment}}}]] | ||
+ | |- | ||
+ | | id="LocationGroup" | Allied Groups: || id="LocationGroup" | {{#arraymap:{{{groups|}}}|,|x|[[x]]}} | ||
+ | |- | ||
+ | | id="LocationType" | Location Type: || id="LocationType" | {{#set:Locationtype={{{type|Undefined}}}}}{{{type}}} | ||
+ | |- | ||
+ | | id="LocationMap" | Grid Locale: || id="LocationMap" | {{#set:Locationmap={{{type|Undefined}}}}}{{{map}}} | ||
+ | |- | ||
+ | | colspan="5" id="LocationDescription" | {{{description}}} | ||
+ | |} | ||
+ | ==Associated Logs== | ||
+ | {{Location logs}} | ||
+ | [[Category:Locations]] [[Category:Information Files]] {{#set:Information=Locations}}</includeonly><noinclude> | ||
+ | <pre>{{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. | ||
}} | }} | ||
− | { | + | {{Location logs|Name of Location Here}}</pre> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </pre> | + | |
</noinclude> | </noinclude> |
Revision as of 22:43, 22 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. }} {{Location logs|Name of Location Here}}