Template:For/doc: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>MrBot5 →Source: +Category:Template documentation |
defaultloadout-wikigg>Mr Pie 5 No edit summary |
||
Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 40: | Line 39: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | == Examples == | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 52: | Line 52: | ||
| <code><nowiki>{{For|more information|Page One{{!}}Page 1}}</nowiki></code> (Custom link label) || {{For|more information|Page One{{!}}Page 1}} | | <code><nowiki>{{For|more information|Page One{{!}}Page 1}}</nowiki></code> (Custom link label) || {{For|more information|Page One{{!}}Page 1}} | ||
|} | |} | ||
== Dependencies == | == Dependencies == | ||
For this template to work properly, you need the following: | For this template to work properly, you need the following: | ||
* The {{tl|Hatnote}} base template. | * The {{tl|Hatnote}} base template. | ||
* The <code>.hatnote</code> class, found in [[MediaWiki:Common.css]]. | * The <code>.hatnote</code> class, found in [[MediaWiki:Common.css]]. | ||
== Source == | == Source == | ||
Roughly based on [ | Roughly based on [[wikipedia:Template:For|Wikipedia's For Template]]. | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 23:35, 17 April 2024
This hatnote template is meant to be used to show pages related to a topic the reader might want to visit.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Topic | 1 | The topic the following pages are about.
| Line | required |
Related Page | 2 | A related page.
| Page name | required |
Second Page | 3 | A second related page.
| Page name | optional |
Third Page | 4 | A third related page.
| Page name | optional |
Examples
Dependencies
For this template to work properly, you need the following:
- The
{{Hatnote}}
base template. - The
.hatnote
class, found in MediaWiki:Common.css.
Source
Roughly based on Wikipedia's For Template.