Difference between revisions of "Template:Ha"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Output)
m (Minor code addition.)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
[{{{url|{{{1}}}}}} {{{title|{{{2|Discussion topic}}}}}}] on <span style="color:#6599CC">hydrogen</span><span style="color:#314E69;font-weight:bold">audio</span><noinclude>__NOTOC__
+
<span class="plainlinks">[{{{url|{{{1}}}}}} {{{title|{{{2|Discussion topic}}}}}}]</span> on [[Image:Small HA logo.png|16px|link=|alt=]] <span style="color:#6599CC">hydrogen</span><span style="color:#314E69;font-weight:bold">audio</span><noinclude>__NOTOC__
 
==Usage==
 
==Usage==
 
The following template (and its variations) can be used for creating styled links to pages on Hydrogenaudio.
 
The following template (and its variations) can be used for creating styled links to pages on Hydrogenaudio.

Latest revision as of 21:57, 7 October 2018

[{{{1}}} Discussion topic] on hydrogenaudio

Usage[edit]

The following template (and its variations) can be used for creating styled links to pages on Hydrogenaudio.

{{ha|1}}
{{ha|url=}}
{{ha|1|2}}
{{ha|url=|title=}}

Fields[edit]

1
url
The full URL of the web page.
2
title
[Optional] The title of the page being linked to. If not included, the words “Discussion topic” will be displayed instead.

Examples[edit]

Input[edit]

{{ha|http://hydrogenaud.io/index.php/topic,115163.0.html}}
{{ha|http://hydrogenaud.io/index.php/topic,115163.0.html|foobar2000 1.4 beta has been released}}
{{ha|url=http://hydrogenaud.io/index.php/topic,115163.0.html}}
{{ha|url=http://hydrogenaud.io/index.php/topic,115163.0.html|title=foobar2000 1.4 beta has been released}}

Output[edit]

Discussion topic on hydrogenaudio

foobar2000 1.4 beta has been released on hydrogenaudio

Discussion topic on hydrogenaudio

foobar2000 1.4 beta has been released on hydrogenaudio