Template:Guides header: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Added the syntax for plural guides and glitches.)
(Added a syntax for glitch "things" (mainly items).)
 
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>{| class="wikitable"
|[[File:3802013 book guide handbook information manual icon.svg|96px]]
|[[File:3802013 book guide handbook information manual icon.svg|96px]]
|This is a {{#if:{{{multiguide|}}}|collection of '''guides'''|'''guide'''}} on how to execute and/or exploit {{#if:{{{multiglitch|}}}|a class of glitches|a glitch}}. {{#if:{{{1|}}}|For a more technical overview of the glitch{{#if:{{{multiglitch|}}}|es}} involved, see [[{{{1}}}]].|}}
|This is a {{#if:{{{multiguide|}}}|collection of '''guides'''|'''guide'''}} on how to {{#if:{{{thing|}}}|obtain|execute}} and/or exploit <!--

|}</includeonly><noinclude>
-->{{#if:{{{thing|}}}
|a glitch {{{thing}}}
|{{#if:{{{multiglitch|}}}|a class of glitches|a glitch}}
}}<!--

-->. {{#if:{{{1|}}}|For a more technical overview of the <!--

-->{{#if:{{{thing|}}}
|glitch {{{thing}}}
|glitch{{#if:{{{multiglitch|}}}|es}}
}} <!--

-->involved, see [[{{{1}}}]].|}}
|}</includeonly><noinclude><!--

-->
== Usage ==
== Usage ==
<pre>{{Guides header}}</pre>
<pre>{{Guides header}}</pre>
{{Guides header}}
{{Guides header}}

<pre>{{Guides header|Trainer escape glitch}}</pre>
<pre>{{Guides header|Trainer escape glitch}}</pre>
{{Guides header|Trainer escape glitch}}
{{Guides header|Trainer escape glitch}}

<pre>{{Guides header|Arbitrary code execution|multiguide=true|multiglitch=true}}</pre>
<pre>{{Guides header|Arbitrary code execution|multiguide=true|multiglitch=true}}</pre>
{{Guides header|Arbitrary code execution|multiguide=true|multiglitch=true}}
{{Guides header|Arbitrary code execution|multiguide=true|multiglitch=true}}
(Note that the values of the parameters <code>multiguide</code> and <code>multiglitch</code> do not matter as long as they are defined and non-blank, so something like <code>multiguide=false</code> probably would not work as intended. Instead, just remove the parameter altogether.)
(Note that the values of the parameters <code>multiguide</code> and <code>multiglitch</code> do not matter as long as they are defined and non-blank, so something like <code>multiguide=false</code> probably would not work as intended. Instead, just remove the parameter altogether.)

<pre>{{Guides header|ItemDex/RB:093{{!}}8F (Red/Blue)|thing=item}}</pre>
{{Guides header|ItemDex/RB:093{{!}}8F (Red/Blue)|thing=item}}

[[Category:Header templates]]
[[Category:Header templates]]
</noinclude>
</noinclude>