Difference between revisions of "Template:Website"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: optional parameter "on" allows for custom links)
m (Position <noinclude>)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Side box|text=Find out about {{{1}}} on {{{on|their official website}}}:|link1={{{2}}}|label1={{{1}}}}}
+
{{Side box|text=Find out about {{{1}}} on {{{on|their official website}}}:|link1={{{2}}}|label1={{{label1|{{{1}}}}}}}}<noinclude>
<noinclude>
+
{{Clear}}
 +
== Usage ==
 +
Examples:
 +
* <code>{{{{PAGENAME}}<nowiki>|Example site|https://example.com}}</nowiki></code> gives
 +
{{{{PAGENAME}}|Example site|https://example.com}}
 +
{{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]]
 
[[Category:Templates]]
 
</noinclude>
 
</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