Template:Mmwiki: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
test...
m Position <noinclude>
 
(14 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 this entry
  | {{Side box|text=[[Multimedia Wiki]] has information on these entries:
<div style="margin-left: 30px;">'''''[http://wiki.multimedia.cx/{{{2|{{{1}}}}}} {{{1}}}]'''''</div>
        |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
</div>
        |label1={{{label1|{{{1}}}}}}
</div><noinclude>
        |link2=http://wiki.multimedia.cx/index.php/{{urlencode:{{{2|Main_Page}}}|wiki}}
        |label2={{{label2|{{{2}}}}}}
        |link3=http://wiki.multimedia.cx/index.php/{{urlencode:{{{3|Main_Page}}}|wiki}}
        |label3={{{label3|{{{3}}}}}}
    }}
  | {{#if:{{{2|}}}
        | {{Side box|text=[[Multimedia Wiki]] has information on these entries:
            |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
            |label1={{{label1|{{{1}}}}}}
            |link2=http://wiki.multimedia.cx/index.php/{{urlencode:{{{2|Main_Page}}}|wiki}}
            |label2={{{label2|{{{2}}}}}}
          }}
        | {{Side box|text=[[Multimedia Wiki]] has information this entry:
            |link1=http://wiki.multimedia.cx/index.php/{{urlencode:{{{1|Main_Page}}}|wiki}}
            |label1={{{label1|{{{1}}}}}}
          }}
    }}
}}<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 }}