Template:Bug: Difference between revisions

From A KoL Wiki
imported>Flargen
m improving auto-cat
imported>Flargen
mNo edit summary
Line 1: Line 1:
<includeonly>
{| style="border: 1px solid black; margin: auto; text-align: center" cellspacing="2"
{| style="border: 1px solid black; margin: auto; text-align: center" cellspacing="2"
|-
|-
Line 5: Line 6:
:<br />{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{comment|}}}|{{{comment}}}}}}}
:<br />{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{comment|}}}|{{{comment}}}}}}}
| style="border: 1px solid black" | {{click|image=familiar38.gif}}
| style="border: 1px solid black" | {{click|image=familiar38.gif}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|Category||{{#ifeq:{{FULLPAGENAME}}|Template:Bug|[[Category:Bugs| {{PAGENAME}}]]|[[Category:Bugs|{{PAGENAME}}]]}}}}</includeonly><noinclude>
|}
{{#ifeq:{{NAMESPACE}}|Category||{{#ifeq:{{FULLPAGENAME}}|Template:Bug|[[Category:Bugs| {{PAGENAME}}]]|[[Category:Bugs|{{PAGENAME}}]]}}}}</includeonly><noinclude>
{{Code2}}
==Use==
<nowiki>{{bug|Text concerning the bug.}}</nowiki>
Yields:
{{bug|Text concerning the bug.}}


[[Category:Administrative Templates|{{PAGENAME}}]]</noinclude>
[[Category:Administrative Templates|{{PAGENAME}}]]</noinclude>

Revision as of 15:42, 12 December 2008

{{Bug}}

{| style="border: 1px solid black; margin: auto; text-align: center" cellspacing="2" |- | style="border: 1px solid black" | {{click|image=familiar38.gif}} | '''There is an in-game [[:Category:Bugs|bug]] related to this page.''' :<br />{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{comment|}}}|{{{comment}}}}}}} | style="border: 1px solid black" | {{click|image=familiar38.gif}} |}

{{#ifeq:{{NAMESPACE}}|Category||{{#ifeq:{{FULLPAGENAME}}|Template:Bug|[[Category:Bugs| {{PAGENAME}}]]|[[Category:Bugs|{{PAGENAME}}]]}}}}

Use

{{bug|Text concerning the bug.}}

Yields:

Template:Click There is an in-game bug related to this page.

Text concerning the bug.
Template:Click