Difference between revisions of "Template:Navigation"
From Twinsuniverse
m |
J McKalling (Talk | contribs) (recategorization) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<div style="padding-top: 0.1em; padding-bottom: 0.1em; text-align: center; color: {{{color|black}}}; background: {{{background|#ccccff}}}; font-weight: bold;"> | <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 | + | <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}}} | |
|} | |} | ||
− | </div></div> | + | </div></div><noinclude>This is the basic template used for creating navigational templates. To use it, [[Help:New article|create a new template]], and copy the following text into it: |
+ | <pre><nowiki>{{Navigation | ||
+ | |title= | ||
+ | |image= | ||
+ | |contents= | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | 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: <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.