Difference between revisions of "Template:String-handling templates"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Import from Wikipedia (CC BY-SA license), last version before {{Aligned tables}} (LUA-only))
 
m
 
Line 5: Line 5:
 
| tracking = no <!--(keep all these string templates (by /doc pages) out of the tracking category)-->
 
| tracking = no <!--(keep all these string templates (by /doc pages) out of the tracking category)-->
  
| group1 = [[Trim (programming)|Trim]] by counting
+
| group1 = [[w:Trim (programming)|Trim]] by counting
 
| list1 =
 
| list1 =
 
* {{tl|Str mid}} – To return a substring, specified by its position and length.
 
* {{tl|Str mid}} – To return a substring, specified by its position and length.

Latest revision as of 09:52, 7 March 2020

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:String-handling templates

Add {{String-handling templates}} to the bottom of a documentation page of a template listed in the navbox.


How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{String-handling templates |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{String-handling templates |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.