Difference between revisions of "Template:See also"
Jump to navigation
Jump to search
(more efficient code) |
m (Use CSS class "hatnote" defined in MediaWiki:Common.css. Wikipedia calls it that in their CSS) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly><!-- | |
− | < | + | --><div class="hatnote">See also: [[:{{{1|Example page}}}|{{{label1|{{{l1|{{{1|Example page}}}}}}}}}]]<!-- |
+ | -->{{#if:{{{2|}}}<!-- | ||
+ | -->|{{#if:{{{3|}}}<!-- | ||
+ | -->|, <!-- | ||
+ | -->| and <!-- | ||
+ | -->}}[[:{{{2}}}|{{{label2|{{{l2|{{{2}}}}}}}}}]]<!-- | ||
+ | -->|}}{{#if:{{{3|}}}<!-- | ||
+ | -->|{{#if:{{{4|}}}<!-- | ||
+ | -->|, <!-- | ||
+ | -->| and <!-- | ||
+ | -->}}[[:{{{3}}}|{{{label3|{{{l3|{{{3}}}}}}}}}]]<!-- | ||
+ | -->|}}{{#if:{{{4|}}}<!-- | ||
+ | -->| and <!-- | ||
+ | -->[[:{{{4}}}|{{{label4|{{{l4|{{{4}}}}}}}}}]]<!-- | ||
+ | -->|}}</div></includeonly><noinclude> | ||
+ | This template was reverse-engineered to resemble [//en.wikipedia.org/wiki/Template:See_also Wikipedia's template], but is my own work.<br /> | ||
+ | It can be used at the very beginning of articles to link up to four pages (including links to category pages).<br /> | ||
+ | '''Examples''' | ||
+ | |||
+ | <code><nowiki>{{See also|MPEG-1}}</nowiki></code> produces:<br /> | ||
+ | {{See also|MPEG-1}} | ||
+ | <code><nowiki>{{See also|MPEG-1|MPEG-2|MPEG-3|MPEG-4}}</nowiki></code> produces:<br /> | ||
+ | {{See also|MPEG-1|MPEG-2|MPEG-3|MPEG-4}} | ||
+ | <code><nowiki>{{See also|VLC|label1=An awesome media player}}</nowiki></code> produces:<br /> | ||
+ | {{See also|VLC|label1=An awesome media player}} | ||
+ | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 05:12, 25 March 2019
This template was reverse-engineered to resemble Wikipedia's template, but is my own work.
It can be used at the very beginning of articles to link up to four pages (including links to category pages).
Examples
{{See also|MPEG-1}}
produces:
See also: MPEG-1
{{See also|MPEG-1|MPEG-2|MPEG-3|MPEG-4}}
produces:
{{See also|VLC|label1=An awesome media player}}
produces:
See also: An awesome media player