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
 
(2 intermediate revisions by the same user not shown)
Line 75: Line 75:


Replace XXX with the skill this template is being used for, i.e Fishing
Replace XXX with the skill this template is being used for, i.e Fishing
== Back to AIO ==
[[Template:BacktoAIO]]
=== Usage ===
This template is used in [[GAIO]] pages at the end to take the user back to the GAIO page. For example, [[Fishing]].
=== Documentation ===
To use this template, include the following code on a page: The following example is used on the [[Template:GFishing]] page.
<pre>
{{Template:BacktoAIO}}
</pre>
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>