Template:Strings subpage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
--> </div><!-- | --> </div><!-- | ||
--><div><!-- | --><div><!-- | ||
--> <span style="background-color: rgb(255 255 255 / 10%); border-radius:.2em; display:inline-flex; position:relative; padding:.1em .5em; margin-top:.2em">[[Template:Strings subpage|<span style="width:100%; height:100%; position:absolute; top:0; left:0"></span>]]<span style="user-select:none; margin-right:.2em; margin-top:-1px">[[File:icon-gnome-document-open.png|14px|link=]]</span><span | --> <span style="background-color: rgb(255 255 255 / 10%); border-radius:.2em; display:inline-flex; position:relative; padding:.1em .5em; margin-top:.2em">[[Template:Strings subpage|<span style="width:100%; height:100%; position:absolute; top:0; left:0"></span>]]<span style="user-select:none; margin-right:.2em; margin-top:-1px">[[File:icon-gnome-document-open.png|14px|link=]]</span><span>{{Dictionary/common|Doc|lang={{ucfirst:{{intlang}}}}}}</span></div> | ||
</div>}}<!-- | </div>}}<!-- | ||
Revision as of 02:30, 4 January 2025
Template Documentation [subpage/Doc&action=edit edit]
A panel indicating that the page it is on contains strings that are used in lieu of complicated {{autolang}}s on the base page.
Looking for creating a Strings subpage?
If you are looking for creating a strings subpage, just create a "/strings
" subpage, then paste the following code:

Parameters and Examples
Parameter | Description | Example |
---|---|---|
No Parameters | Places the template. | |
{{{number}}}
|
Number of strings. | |
{{{<language code>}}}
|
Number of translated strings into the specified language. |
When creating a new strings subpage, click on the three dots in the top right of the documentation box and click "Strings". This will create a new strings subpage with the proper formatting already applied. Of course, this is not required and you can just create a new one from scratch if you so wish.