Template:Locationblockmerge: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
m (+{{Protect}}) |
Krazy Monkey (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Protect}}</noinclude> | <noinclude>{{Protect}}</noinclude> | ||
<includeonly>[[Category:{{{suburb}}}]][[Category:{{{location_type}}}]]</includeonly> | |||
{{Locationblock/Top}} | {{Locationblock/Top}} | ||
{{Locationblock/Middle| | {{Locationblock/Middle| |
Revision as of 12:35, 23 December 2008
Administration Services — Protection. This page has been protected against editing. See the archive of recent actions or the Protections log. |
{{{This_location}}}
[[{{{suburb}}}]] [{{{coordinates}}}]
|
Usage
For merged pages, it's pretty redundant to see the same basic info on every location navigation template. So, instead of using the traditional {{Locationblock}}, these pages should instead use these two templates: Template:Locationblockmerge and {{Infomerge}}.
This template should occur once for each location, and has syntax as follows
- Note: the template syntax is nearly identical to {{Locationblock}}. No change to the template call structure should be necessary to turn a call to {{Locationblock}} into a call to {{Locationblockmerge}} — apart from the fact that the parameter location_type is no longer necessary.
Usage:
{{Locationblockmerge| suburb=XXXX| coordinates=XX,YY| NW_location=[[XXXX]]|NW_color=XXXX| N_location=[[XXXX]]|N_color=XXXX| NE_location=[[XXXX]]|NE_color=XXXX| W_location=[[XXXX]]|W_color=XXXX| This_location=XXXX|location_color=XXXX| E_location=[[XXXX]]|E_color=XXXX| SW_location=[[XXXX]]|SW_color=XXXX| S_location=[[XXXX]]|S_color=XXXX| SE_location=[[XXXX]]|SE_color=XXXX}} |
- "suburb" is the name of the suburb this location is in. This will generate an automatic link to that suburbs page.
- "coordinates" is the x-y coordinates of that location, in the format XX,YY.
- "*_location" is the name of the location in that direction, "This_location" being the name of the location the template shows.
- "*_color" is the Hex Color Code (In full caps) for that location, or the type of building the location is. Valid entries for Colors are show below.
Valid Entries, Words | Deprecated Entries, Words | |||
---|---|---|---|---|
Armoury | Cinema | Mansion | School | Car Park |