Preload/IntroductionCategory – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "<code>" to "<code style="display: block">")
 
Line 7: Line 7:
== Example ==
== Example ==
This template is built for preloading and '''cannot''' be used with {{hl|{{<nowiki/>{{PAGENAME}}}}}}; to introduce the same effect manually, copy/paste this:
This template is built for preloading and '''cannot''' be used with {{hl|{{<nowiki/>{{PAGENAME}}}}}}; to introduce the same effect manually, copy/paste this:
<code><nowiki>Features introduced with {{subst:#explode:{{subst:PAGENAME}}|with|1}} may be recognised by the appearance of this icon: {{GVI|{{subst:#explode:{{subst:#replace:{{subst:PAGENAME}}|Introduced with|}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}}}
<code style="display: block"><nowiki>Features introduced with {{subst:#explode:{{subst:PAGENAME}}|with|1}} may be recognised by the appearance of this icon: {{GVI|{{subst:#explode:{{subst:#replace:{{subst:PAGENAME}}|Introduced with|}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}}}


[[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]</nowiki></code>[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]</nowiki></code>[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Latest revision as of 11:53, 11 January 2023

Usage

For preloading the header into "Introduced with such and such a game version something or other" Category pages.

Example

This template is built for preloading and cannot be used with {{Preload/IntroductionCategory}}; to introduce the same effect manually, copy/paste this: Features introduced with {{subst:#explode:{{subst:PAGENAME}}|with|1}} may be recognised by the appearance of this icon: {{GVI|{{subst:#explode:{{subst:#replace:{{subst:PAGENAME}}|Introduced with|}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}}} [[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]