Difference between revisions of "Template:Tlg"
From ERPC Wiki Archive
(Update via sandbox/testcases ("plaincode" option, "boldlink"/"boldname" and "italics" alternatives)) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
-->{{#if:{{{nowrap|}}} |<span class="nowrap">}}<!-- | -->{{#if:{{{nowrap|}}} |<span class="nowrap">}}<!-- | ||
-->{{#if:{{{code|{{{tt|}}}}}} |<code> |{{#if:{{{plaincode|}}}|<code style="border:none;background:transparent;">}} }}<!-- | -->{{#if:{{{code|{{{tt|}}}}}} |<code> |{{#if:{{{plaincode|}}}|<code style="border:none;background:transparent;">}} }}<!-- | ||
+ | -->{{#if:{{{kbd|}}} |<kbd>}}<!-- | ||
+ | -->{{#if:{{{nowrapname|}}} |<span class="nowrap">}}<!-- | ||
-->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!-- | ||
-->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | -->{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!-- | ||
Line 7: | Line 9: | ||
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!-- | -->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!-- | ||
-->{{#if:{{{nolink|}}} |<!--then omit template link, else: | -->{{#if:{{{nolink|}}} |<!--then omit template link, else: | ||
− | + | -->| {{#if:{{{braceinside|}}} |<nowiki>{</nowiki>}}<!-- | |
-->{{!((}}:<!--(start building link with "[[:") | -->{{!((}}:<!--(start building link with "[[:") | ||
-->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon, | -->{{#ifeq:{{padleft:|1|{{{1}}}}}|: <!--i.e. if {{{1}}}'s first character is a colon, | ||
Line 26: | Line 28: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!-- | -->{{#if:{{{bold|{{{boldlink|{{{boldname|}}}}}}}}} |'''}}<!-- | ||
+ | -->{{#if:{{{nowrapname|}}} |</span>}}<!-- | ||
-->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!-- | -->{{#if:{{{italic|{{{italics|}}}}}} |<span style="font-style:italic;">}}<!-- | ||
Line 42: | Line 45: | ||
-->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- | -->{{#if:{{{braceinside|}}} | |<nowiki>}}</nowiki>}}<!-- | ||
+ | -->{{#if:{{{kbd|}}} |</kbd>}}<!-- | ||
-->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- | -->{{#if:{{{code|{{{tt|}}}}}}{{{plaincode|}}} |</code>}}<!-- | ||
-->{{#if:{{{nowrap|}}} |</span>}}<!-- | -->{{#if:{{{nowrap|}}} |</span>}}<!-- |
Latest revision as of 17:31, 18 October 2017
Lua error in Module:Fallback at line 134: attempt to index a nil value.