Difference between revisions of "Template:Navigation"
From Twinsuniverse
m |
m |
||
Line 1: | Line 1: | ||
<div class="NavFrame" style="clear: both; {{ #if: {{{width|}}} | width: {{{width}}}; | width: 90%; }} margin: 0.5em {{ #ifeq: {{{align|}}} | left | ; float: left; |{{ #ifeq: {{{align|}}} | right | ; float: right; | auto; }}}} margin-top: 0.5em; margin-bottom: 0.5em; padding: 0.2em;"> | <div class="NavFrame" style="clear: both; {{ #if: {{{width|}}} | width: {{{width}}}; | width: 90%; }} margin: 0.5em {{ #ifeq: {{{align|}}} | left | ; float: left; |{{ #ifeq: {{{align|}}} | right | ; float: right; | auto; }}}} margin-top: 0.5em; margin-bottom: 0.5em; padding: 0.2em;"> | ||
− | <div style="padding-top: 0.1em; padding-bottom: 0.1em; text-align: | + | <div style="padding-top: 0.1em; padding-bottom: 0.1em; text-align: left; color: {{{color|black}}}; background: {{{background|#ccccff}}}; font-weight: bold;"> |
{{{title}}}</div> | {{{title}}}</div> | ||
<div style="padding: 0.5em 1em 0.5em 1em; background-color: #f9f9f9; font-size: 95%"> | <div style="padding: 0.5em 1em 0.5em 1em; background-color: #f9f9f9; font-size: 95%"> |
Revision as of 13:35, 17 June 2007
{{{title}}}
{{{image}}} | {{{contents}}} |
{{Navigation |title= |image= |contents= }}
Then, fill in the parameters, as follows:
- Title: the title of the template. e.g. "Citadel Island".
- Image: a representative image to be used at the left of the template. This should include the full code, and not only the file name. Preferably make the image small, about 70-100 pixels.
- Contents: Here goes the actual content of the template. List here all items relevant to the template, including those not yet written (one of the advantages of such templates is to see what's not written yet in the subject). Separate each item with a • or a dash (-).
Eventually, categorize the template, like that: [[Category:Navigational templates|template name]], replacing the name of the template with "template name". Don't forget to add the <noinclude> tag before and after the category.