Template talk:Box
From GPWiki
The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server. However, the GPWiki forums are still active! Come say hello.
[edit] How To UseTo just get a plain box, use the following: {{Box|color=COLOUR NAME|content=TEXT}}
To arrange the boxes in columns: {| width="100%"
|-
|style="vertical-align:top;" |
Insert first column boxes here.
| width="50%" style="vertical-align:top;" |
Insert second column boxes here.
|}
[edit] Examples
[edit] Discussion[edit] NotesNote that width values can be adjusted, and more columns can be added as desired. Note also, that after five boxes are displayed, it seems to just add a link to Template:Box. I don't know why it does this, or if it is fixable. Enjoy. --Dial-Up 00:53, 19 Aug 2005 (EDT) [edit] Neat and useful template!Really, really cool Dial-Up! I didn't know how to use "arguments" in templates, but it really opens up a lot of posibilities. Our mother site - Wikipedia - makes extensive use of templates, so it's not just eye candy. I'm tempted to use your box template on the main page to clean up the code, but that would allow others to change the template, and thus also the main page. I could make a new box template to use and the main page and protect that template, but as the saying goes; "Don't fix what ain't broken" :) However, nice work Dial-Up, keep it up! Sion 06:34, 19 Aug 2005 (EDT) |


