Difference between revisions of "Template:Mmwiki"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Position <noinclude>)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: right;">
+
{{#if:{{{3|}}}
<div style="margin-left: 10px;">[[Multimedia Wiki]] has information on
+
  | {{Side box|text=[[Multimedia Wiki]] has information on these entries:
{{ #if: {{{3|}}}
+
        |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
  |these entries:
+
        |label1={{{label1|{{{1}}}}}}
  |this entry:
+
        |link2=http://wiki.multimedia.cx/index.php/{{urlencode:{{{2|Main_Page}}}|wiki}}
}}
+
        |label2={{{label2|{{{2}}}}}}
<div style="margin-left: 30px;">
+
        |link3=http://wiki.multimedia.cx/index.php/{{urlencode:{{{3|Main_Page}}}|wiki}}
{{ #if: {{{3|}}}
+
        |label3={{{label3|{{{3}}}}}}
  |*'''''[http://wiki.multimedia.cx/index.php?title={{{2|{{{1}}}}}} {{{1}}}]'''''
+
    }}
  |'''''[http://wiki.multimedia.cx/index.php?title={{{2|{{{1}}}}}} {{{1}}}]'''''
+
  | {{#if:{{{2|}}}
}}
+
        | {{Side box|text=[[Multimedia Wiki]] has information on these entries:
{{ #if: {{{3|}}}
+
            |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
  |*'''''[http://wiki.multimedia.cx/index.php?title={{{4|{{{3}}}}}} {{{3}}}]'''''
+
            |label1={{{label1|{{{1}}}}}}
  |
+
            |link2=http://wiki.multimedia.cx/index.php/{{urlencode:{{{2|Main_Page}}}|wiki}}
}}
+
            |label2={{{label2|{{{2}}}}}}
{{ #if: {{{5|}}}
+
          }}
  |*'''''[http://wiki.multimedia.cx/index.php?title={{{6|{{{5}}}}}} {{{5}}}]'''''
+
        | {{Side box|text=[[Multimedia Wiki]] has information this entry:
  |
+
            |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
}}</div>
+
            |label1={{{label1|{{{1}}}}}}
</div>
+
          }}
</div><noinclude>
+
    }}
 +
}}<noinclude>
  
Multimedia wiki link.  
+
Multimedia wiki link. Up to three may be added. The labels are optional and will default to the entries.
  <nowiki>{{ mmwiki | title | title2 }}</nowiki>
+
  <nowiki>{{ mmwiki | title | label1=Label 1 | title2 | label2=Label 2 | title3 | label3=Label 3 }}</nowiki>
 
 
Normally you can just use "title" and skip "title2". But if "title" has SPACES in it, replace them with underscores in title2.
 
 
 
eg
 
<nowiki>{{ mmwiki | RealMedia }}</nowiki>
 
 
 
or
 
<nowiki>{{ mmwiki | Main page | Main_page }}</nowiki>
 
  
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:26, 1 April 2019

Multimedia wiki link. Up to three may be added. The labels are optional and will default to the entries.

{{ mmwiki | title | label1=Label 1 | title2 | label2=Label 2 | title3 | label3=Label 3 }}