Difference between revisions of "Template:Main"
From Starfleet Commander
Jump to navigationJump to search (Created page with "{| class="plainlinks" style="clear: both; margin-left: 2em; padding: .25em;" | ''Main article: [[{{{1|<span style="color: #FF0000;">Required parameter missing.</span>}}}|{{{2|<sp...") |
m (→Parameters) |
||
Line 10: | Line 10: | ||
:''(required)'' the link to the main article. | :''(required)'' the link to the main article. | ||
;<tt>text</tt> | ;<tt>text</tt> | ||
− | :''(required)'' the text | + | :''(required)'' the text label shown for the link. |
Example<nowiki>: {{Main|Shipyard|Shipyard}} will output:</nowiki><br /> | Example<nowiki>: {{Main|Shipyard|Shipyard}} will output:</nowiki><br /> | ||
::''Main article: [[Shipyard|Shipyard]]'' | ::''Main article: [[Shipyard|Shipyard]]'' | ||
[[Category:Page templates]][[Category:Article templates]][[Category:Section templates]] | [[Category:Page templates]][[Category:Article templates]][[Category:Section templates]] | ||
</noinclude> | </noinclude> |
Revision as of 02:01, 18 September 2011
Main article: [[Required parameter missing.|Required parameter missing.]] |
How to use this template
This template is for adding a main article link to pages, articles or sections.
{{Main|link|text}}
Parameters
- link
- (required) the link to the main article.
- text
- (required) the text label shown for the link.
Example: {{Main|Shipyard|Shipyard}} will output:
- Main article: Shipyard