Difference between revisions of "Template:Location Description"
From Masq
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| + | ==Usage== | ||
<pre> | <pre> | ||
{{Location Description | {{Location Description | ||
| Line 20: | Line 21: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | This template creates a description page for a location on the grid; the location's page itself is created with [[Template:Location]]. | ||
| + | |||
| + | |||
| + | ===Example=== | ||
| + | <pre style="white-space: pre-wrap; | ||
| + | white-space: -moz-pre-wrap; | ||
| + | white-space: -pre-wrap; | ||
| + | white-space: -o-pre-wrap; | ||
| + | word-wrap: break-word"> | ||
| + | {{Location Description | ||
| + | |page=Pizza Palace | ||
| + | |name=Pizza Palace -- Albuquerque | ||
| + | |----- | ||
| + | |paragraph1=Pizza Palace is a bustling restaurant filled with all types of people -- an interesting and thorough cross-section of humanity. The low prices and frequent specials attract everyone from hungry college kids to curmudgeonly old people; from pasty late-night nerds taking a break from MMOs to families with screaming, marinara-smeared toddlers. Pizza Palace is open 24/7 except for holidays, with a happy hour from four to seven, and offers just about every topping commonly or uncommonly found upon pizzas. The menu also includes a variety of non-pizza food options such as pasta, sandwiches, and salads, for freakish pizza-haters dragged here by their friends. Eat in, get it to go, or call from home for delivery! | ||
| + | |paragraph2=The restaurant has a reputation for hiring stoners and slackers, but it's a mostly clean place with booths and tables on the inside, plus an outdoor patio area for smokers and people with dogs. The floor is a checkerboard pattern of black and white linoleum squares, and all the chairs and booths are red. Each table is covered with a fresh sheet of butcher paper and is equipped with a little cup of crayons along with the napkins, parmesan, and red pepper flakes. Neon signs in the restaurant windows announce PIZZA! and BUDWEISER!, and CORONA!, along with the always-lit OPEN! sign. Video games both archaic and current tempt children to scream at their parents for quarters, and a karaoke area reminds tipsy customers that beer makes you an excellent singer. | ||
| + | |paragraph3=<center>~*~[[Pizza Palace|places]] are available here~*~</center> | ||
| + | |----- | ||
| + | |exit_name1=Out | ||
| + | |exit_link1=Q1_--_Central_Avenue:_300_East | ||
| + | |exit_alias1=O | ||
| + | |exit_name2=A Test Exit | ||
| + | |exit_link2=R1 -- Central Avenue: 400 East | ||
| + | |exit_alias2=TE | ||
| + | }} | ||
| + | </pre> | ||
| + | The above would create a description page for Pizza Palace (with an additional exit just to show how that works). | ||
| + | |||
[[Category:Templates]]</noinclude><includeonly> | [[Category:Templates]]</noinclude><includeonly> | ||
'''[[{{{page}}}|{{{name}}}]]'''{{#forargs: paragraph | '''[[{{{page}}}|{{{name}}}]]'''{{#forargs: paragraph | ||
Revision as of 14:21, 17 February 2013
Usage
{{Location Description
|page=Name of Location's Page
|name=Complete Room Name On Grid
|-----
|paragraph1=The first paragraph of the description.
|paragraph2=The second paragraph of the description.
|paragraphN=The Nth paragraph of the description.
|-----
|exit_name1=The name of the first exit.
|exit_link1=The name of the wiki grid page for the room the first exit links to.
|exit_alias1=The short alias for the first exit.
|exit_name2=The name of the second exit.
|exit_link2=The name of the wiki grid page for the room the second exit links to.
|exit_alias2=The short alias for the second exit.
|exit_nameN=The name of the Nth exit.
|exit_linkN=The name of the wiki grid page for the room the Nth exit links to.
|exit_aliasN=The short alias for the Nth exit.
}}
This template creates a description page for a location on the grid; the location's page itself is created with Template:Location.
Example
{{Location Description
|page=Pizza Palace
|name=Pizza Palace -- Albuquerque
|-----
|paragraph1=Pizza Palace is a bustling restaurant filled with all types of people -- an interesting and thorough cross-section of humanity. The low prices and frequent specials attract everyone from hungry college kids to curmudgeonly old people; from pasty late-night nerds taking a break from MMOs to families with screaming, marinara-smeared toddlers. Pizza Palace is open 24/7 except for holidays, with a happy hour from four to seven, and offers just about every topping commonly or uncommonly found upon pizzas. The menu also includes a variety of non-pizza food options such as pasta, sandwiches, and salads, for freakish pizza-haters dragged here by their friends. Eat in, get it to go, or call from home for delivery!
|paragraph2=The restaurant has a reputation for hiring stoners and slackers, but it's a mostly clean place with booths and tables on the inside, plus an outdoor patio area for smokers and people with dogs. The floor is a checkerboard pattern of black and white linoleum squares, and all the chairs and booths are red. Each table is covered with a fresh sheet of butcher paper and is equipped with a little cup of crayons along with the napkins, parmesan, and red pepper flakes. Neon signs in the restaurant windows announce PIZZA! and BUDWEISER!, and CORONA!, along with the always-lit OPEN! sign. Video games both archaic and current tempt children to scream at their parents for quarters, and a karaoke area reminds tipsy customers that beer makes you an excellent singer.
|paragraph3=<center>~*~[[Pizza Palace|places]] are available here~*~</center>
|-----
|exit_name1=Out
|exit_link1=Q1_--_Central_Avenue:_300_East
|exit_alias1=O
|exit_name2=A Test Exit
|exit_link2=R1 -- Central Avenue: 400 East
|exit_alias2=TE
}}
The above would create a description page for Pizza Palace (with an additional exit just to show how that works).