Difference between revisions of "Template:Navigation"
From Twinsuniverse
m |
J McKalling (Talk | contribs) (recategorization) |
||
(3 intermediate revisions by 2 users not shown) | |||
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: center; 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%"> | ||
− | {| style="width: 100%; background-color: transparent; margin: 0; padding: 0; text-align: | + | {| style="width: 100%; background-color: transparent; margin: 0; padding: 0; text-align: center ;" cellpadding="0" cellspacing="0" |
| {{{image}}} || {{{contents}}} | | {{{image}}} || {{{contents}}} | ||
|} | |} | ||
Line 19: | Line 19: | ||
Eventually, categorize the template, like that: <nowiki>[[Category:Navigational templates|template name]]</nowiki>, replacing the name of the template with "template name". Don't forget to add the <nowiki><noinclude></nowiki> tag before and after the category. | Eventually, categorize the template, like that: <nowiki>[[Category:Navigational templates|template name]]</nowiki>, replacing the name of the template with "template name". Don't forget to add the <nowiki><noinclude></nowiki> tag before and after the category. | ||
− | + | ||
+ | </noinclude> |
Latest revision as of 19:31, 5 June 2014
{{{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.