Difference between revisions of "Template:Xiph"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m (simplify template calls after reading MediaWiki documentation at https://www.mediawiki.org/wiki/Special:MyLanguage/Help:External_searches)
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;">
 
<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;">
 
<div style="margin-left: 10px;">[[Xiph Wiki]] has information on this entry
 
<div style="margin-left: 10px;">[[Xiph Wiki]] has information on this entry
<div style="margin-left: 30px;">'''''[http://wiki.xiph.org/index.php/{{{2|{{{1}}}}}} {{{1}}}]'''''</div>
+
<div style="margin-left: 30px;">'''''[https://wiki.xiph.org/index.php/{{urlencode:{{{1}}}|wiki}} {{{label1|{{{1}}}}}}]'''''</div>
 
</div>
 
</div>
 
</div><noinclude>
 
</div><noinclude>
  
 
Xiph wiki link.  
 
Xiph wiki link.  
  <nowiki>{{ xiph | title | title2 }}</nowiki>
+
  <nowiki>{{ xiph | title }}</nowiki>
 
 
Normally you can just use "title" and skip "title2". But if "title" has SPACES in it, replace them with underscores in title2.
 
  
 
eg
 
eg
 
  <nowiki>{{ xiph | cmml }}</nowiki>
 
  <nowiki>{{ xiph | cmml }}</nowiki>
 
or
 
<nowiki>{{ xiph | Main page | Main_page }}</nowiki>
 
  
 
</noinclude>
 
</noinclude>

Revision as of 04:38, 7 November 2016

Xiph Wiki has information on this entry

Xiph wiki link.

{{ xiph | title }}

eg

{{ xiph | cmml }}