Difference between revisions of "Template:Website"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m (Position <noinclude>)
 
(11 intermediate revisions by 2 users 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;">
+
{{Side box|text=Find out about {{{1}}} on {{{on|their official website}}}:|link1={{{2}}}|label1={{{label1|{{{1}}}}}}}}<noinclude>
<div style="margin-left: 10px;">Find out about {{{1}}} on their official website
+
{{Clear}}
<div style="margin-left: 30px;">'''''[{{{2}}} {{{1}}}]'''''</div>
+
== Usage ==
</div>
+
Examples:
</div>
+
* <code>{{{{PAGENAME}}<nowiki>|Example site|https://example.com}}</nowiki></code> gives
<noinclude>
+
{{{{PAGENAME}}|Example site|https://example.com}}
Usage <nowiki>{{website|name|site}}</nowiki>, eg <nowiki>{{website|Apple|http://www.apple.com}}</nowiki>. No spaces please in website (replace with %20).
+
{{Clear}}
 +
* <code>{{{{PAGENAME}}<nowiki>|The Example Group|on=their wiki|https://example.com}}</nowiki></code> gives
 +
{{{{PAGENAME}}|The Example Group|on=their wiki|https://example.com}}
 +
{{Clear}}
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 22:40, 30 March 2019

Usage

Examples:

  • {{Website|Example site|https://example.com}} gives
  • {{Website|The Example Group|on=their wiki|https://example.com}} gives