Difference between revisions of "Template:See also"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Remove defaults for impossible branches)
(New feature: l1 works as an alias for label1, l2 as an alias for label2, etc.)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
-->:''See also: [[:{{{1|Example page}}}|{{{label1|{{{1|Example page}}}}}}]]<!--
+
-->:''See also: [[:{{{1|Example page}}}|{{{label1|{{{l1|{{{1|Example page}}}}}}}}}]]<!--
 
-->{{#if:{{{2|}}}<!--
 
-->{{#if:{{{2|}}}<!--
 
     -->|{{#if:{{{3|}}}<!--
 
     -->|{{#if:{{{3|}}}<!--
 
           -->|,&#32;<!--
 
           -->|,&#32;<!--
 
           -->|&nbsp;and&#32;<!--
 
           -->|&nbsp;and&#32;<!--
       -->}}[[:{{{2}}}|{{{label2|{{{2}}}}}}]]<!--
+
       -->}}[[:{{{2}}}|{{{label2{{{l2|{{{2}}}}}}}}}]]<!--
 
     -->|}}{{#if:{{{3|}}}<!--
 
     -->|}}{{#if:{{{3|}}}<!--
 
     -->|{{#if:{{{4|}}}<!--
 
     -->|{{#if:{{{4|}}}<!--
 
           -->|,&#32;<!--
 
           -->|,&#32;<!--
 
           -->|&nbsp;and&#32;<!--
 
           -->|&nbsp;and&#32;<!--
       -->}}[[:{{{3}}}|{{{label3|{{{3}}}}}}]]<!--
+
       -->}}[[:{{{3}}}|{{{label3|{{{l3|{{{3}}}}}}}}}]]<!--
 
     -->|}}{{#if:{{{4|}}}<!--
 
     -->|}}{{#if:{{{4|}}}<!--
 
             -->|&nbsp;and&#32;<!--
 
             -->|&nbsp;and&#32;<!--
         -->[[:{{{4}}}|{{{label4|{{{4}}}}}}]]<!--
+
         -->[[:{{{4}}}|{{{label4|{{{l4|{{{4}}}}}}}}}]]<!--
 
-->|}}''</includeonly><noinclude>
 
-->|}}''</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 />
 
This template was reverse-engineered to resemble [//en.wikipedia.org/wiki/Template:See_also Wikipedia's template], but is my own work.<br />

Revision as of 09:17, 3 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: MPEG-1, {{{label2MPEG-2}}}, MPEG-3 and MPEG-4

{{See also|VLC|label1=An awesome media player}} produces:

See also: An awesome media player