Difference between revisions of "Template:Protoadd"

From MythTV Official Wiki
Jump to: navigation, search
m (Undo revision 47107 by Wagnerrp (Talk))
(make link optional)
Line 1: Line 1:
 
<noinclude>Example:</noinclude>
 
<noinclude>Example:</noinclude>
[[{{{1}}}_(Myth_Protocol)|<code><font color="green">+{{{1}}}</font></code>]]
+
{{ #ifeq: {{{2|True}}} | True | [[{{{1}}}_(Myth_Protocol)|<code><font color="green">+{{{1}}}</font></code>]] | {{{1}}}_(Myth_Protocol)|<code><font color="green">+{{{1}}}</font></code>}}.
<noinclude>
+
Usage:<br>
Usage:
+
{{Protoadd|MYTH_PROTO_VERSION}}
<pre>{{ProtoAdd|MYTH_PROTO_VERSION}}</pre>
+
<pre>{{Protoadd|MYTH_PROTO_VERSION}}</pre>
 +
{{Protoadd|MYTH_PROTO_VERSION_WITHOUT_LINK|False}}
 +
<pre>{{Protoadd|MYTH_PROTO_VERSION_WITHOUT_LINK|False}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 17:46, 17 August 2010

Example: [[{{{1}}}_(Myth_Protocol)|+{{{1}}}]]. Usage:

+MYTH_PROTO_VERSION

{{Protoadd|MYTH_PROTO_VERSION}}

+MYTH_PROTO_VERSION_WITHOUT_LINK

{{Protoadd|MYTH_PROTO_VERSION_WITHOUT_LINK|False}}