Template:Wotg: Difference between revisions

From HorizonXI Wiki
(changed template so that it can be used to comment out wotg content)
(template useable with argument, now pointing to isinhorizon template)
Line 1: Line 1:
<includeonly><span style="display: none;">{{{1}}}</span></includeonly><noinclude>This template is to tag any pages with wotg content on them. Any pages tagged can then be found within the page tools 'what links here' section. Not all wotg content must be tagged as we aren't going to forget to add in the damcer page for exmaple but feel free to use it wherever you feel it necessary.</noinclude>
<includeonly>{{ToggleExpansionVisibility|wotg|{{{1}}}}}</includeonly><noinclude>Used to hide wotg content until it is included in horizon: <nowiki>{{wotg|text to be hidden until wotg is included in horizon}}</nowiki>
 
'''does not work to hide template syntax, only plain text. If unsure, test first with an expansion that is already included, like <nowiki>{{cop|text...}}</nowiki> to make sure the content is working with the template and correctly showing when tagged as era content.'''
 
to hide template syntax, see [[Tagging Out of Era Content]].</noinclude>

Revision as of 15:13, 31 July 2023

Used to hide wotg content until it is included in horizon: {{wotg|text to be hidden until wotg is included in horizon}}

does not work to hide template syntax, only plain text. If unsure, test first with an expansion that is already included, like {{cop|text...}} to make sure the content is working with the template and correctly showing when tagged as era content.

to hide template syntax, see Tagging Out of Era Content.