Template:Strings subpage/preload: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This is a preload page for strings subpages. You can copy-paste this code, or it can be created from the {{tl2|doc}} template link in the dropdown menu</noinclude>
This is a preload page for strings subpages. You can copy-paste this code, or it can be created from the {{tl2|doc}} template link in the dropdown menu
<!-- ACTUAL PRELOAD CONTENT: -->
<!-- ACTUAL PRELOAD CONTENT:  
<includeonly><onlyinclude><<noinclude></noinclude>noinclude>{{Strings subpage


| number =
Why is there a noinclude in the includeonly s and the onlyinclude s?


| en =
What this does is it prevents mediawiki from treating those tags as the actual beginning and endings of the preload content, instead of just text like how I want it. This allows the text to be included in the preload.


}}<<noinclude></noinclude>/noinclude>
I hate mediawiki :)
<<noinclude></noinclude>includeonly><<noinclude></noinclude>onlyinclude>{{#switch:{{{1|}}}


<!-- insert strings below here -->
-Equalizer5118
-->
<includeonly>


| string 1 = {{autolang|1= }}
<onlyinclude>{{Strings subpage
| number =  
| en =  
}}


}}<<noinclude></noinclude>/onlyinclude></<noinclude></noinclude>includeonly>
<!-- You can optionally include previews here.
<!-- You can optionally include previews here.


The format is:
The format is:


* <string name>: <span color:white>{{{{FULLPAGENAME}}|<string name>}}</span>
* <string name>: {{{{PAGENAME}}|<string name>}}</span>


Keep the {{FULLPAGENAME}} thing
Keep the {{PAGENAME}} thing


-->
-->


</onlyinclude></includeonly>
<<noinclude />onlyinclude>{{#switch:{{{1|}}}
 
<!-- insert strings below here -->
 
| string 1 = {{#switch: {{language}}
| #default = ...
| fr = ...
}}
 
| string x = {{#switch: {{language}}
| #default = ...
| de = ...
}}
 
}}<<noinclude />/onlyinclude>
</onlyinclude>
 
</includeonly>

Latest revision as of 17:56, 3 August 2024

This is a preload page for strings subpages. You can copy-paste this code, or it can be created from the {{doc}} template link in the dropdown menu