Preload/IntroductionCategory – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Caretaking template for preloading "Introduced with" headers.)
 
m (Text replacement - "<code>" to "<code style="display: block">")
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


[[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]</includeonly><noinclude>
[[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]</includeonly><noinclude>
==Usage==
== Usage ==
For preloading the header into "''Introduced with such and such a game version something or other''" Category pages.
For preloading the header into "''Introduced with such and such a game version something or other''" Category pages.


==Example==
== Example ==
Although this is built for preloading, to call it manually, simply add <tt><nowiki>{{IntroCatIntro}}</nowiki></tt> at the top of an appropriate Category page.
This template is built for preloading and '''cannot''' be used with {{hl|{{<nowiki/>{{PAGENAME}}}}}}; to introduce the same effect manually, copy/paste this:
<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}}| |}}}}


<!-- Categories this template should belong to -->
[[Category:{{subst:#explode:{{subst:PAGENAME}}|version|0}}|{{subst:#replace:{{subst:#explode:{{subst:PAGENAME}}|version|1}}| |}}]]</nowiki></code>[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[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}}| |}}]]