User:Red Hawk One/Sandbox 4: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
Red Hawk One (talk | contribs) No edit summary |
Red Hawk One (talk | contribs) m (Apparently I'm missing something here... might as well copy the whole page and work backwards.) |
||
Line 1: | Line 1: | ||
<noinclude>'''Location recategorization'''</noinclude> | |||
{| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; margin:0 0 5px 5px; width:316px" | {| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; margin:0 0 5px 5px; width:316px" | ||
|- align=center | |- align=center | ||
Line 22: | Line 24: | ||
|align=left|{{Info_{{ucfirst:{{{location_color}}}}}}} | |align=left|{{Info_{{ucfirst:{{{location_color}}}}}}} | ||
|} | |} | ||
|}<noinclude><br style="clear:right" /> | |||
'''Usage:''' | |||
<nowiki> | |||
{{Locationblock| | |||
|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 | |||
}}</nowiki> | |||
{{Locationblock/Colors}} | |||
{{Locationblock/Infos}} | |||
==Testing== | |||
</noinclude> |
Revision as of 03:24, 28 April 2010
Location recategorization
{{{This_location}}}
[[{{{suburb}}}]] [{{{coordinates}}}]
Basic Info:
|
Usage:
{{Locationblock| |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 |
- "location_type" is the type of location that the template shows. Valid entries are shown below.
Location Types | |||||
---|---|---|---|---|---|
Valid Entries | Deprecated Entries | ||||
Armoury | Church | Junkyard | Park | Warehouse | Car Park |