Template:Strings subpage/preload: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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: | ||
Why is there a noinclude in the includeonly s and the onlyinclude s? | |||
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. | |||
I hate mediawiki :) | |||
-Equalizer5118 | |||
--> | |||
<includeonly> | |||
| | <onlyinclude>{{Strings subpage | ||
| number = | |||
| en = | |||
}} | |||
<!-- You can optionally include previews here. | <!-- You can optionally include previews here. | ||
The format is: | The format is: | ||
* <string name>: | * <string name>: {{{{PAGENAME}}|<string name>}}</span> | ||
Keep the {{ | 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