Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Help:Templates: Difference between revisions

Help page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 86: Line 86:
=== Documentation ===
=== Documentation ===


To use this template, include the following code on a page: The following example is used on the [[Template:Fishing]] page.
To use this template, include the following code on a page: The following example is used on the [[Template:GFishing]] page.


<pre>
<pre>
Line 93: Line 93:


On pages that contain a header that is auto collapsed like [[Pest_Control]] in it's case, Equipment. Having the above at the end of the page would hide it in the collapsed header. So it is placed there if somebody is at the end of the Equipment header, but it's also placed in the [[Template:GPestControl]] as an ifeq statement to show before the Equipment Header. It's a small QOL for readers.
On pages that contain a header that is auto collapsed like [[Pest_Control]] in it's case, Equipment. Having the above at the end of the page would hide it in the collapsed header. So it is placed there if somebody is at the end of the Equipment header, but it's also placed in the [[Template:GPestControl]] as an ifeq statement to show before the Equipment Header. It's a small QOL for readers.
<pre>
{{#ifeq:{{{gaio|yes}}}|yes|{{Template:BacktoAIO}}}}
</pre>