v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Params/combine arguments/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Documentation)
 
m (fix name)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
==Examples==
 
==Examples==
 
'''Page: Template:Foo'''
 
'''Page: Template:Foo'''
  Foo: <nowiki>''{{</nowiki>subst:{{BASEPAGENAME}}<nowiki>}}''</nowiki>
+
  Foo: <nowiki>''{{</nowiki>subst:Params/combine arguments<nowiki>}}''</nowiki>
 
After saving, becomes:
 
After saving, becomes:
 
  Foo: <nowiki>''{{{1|}}}{{{2|}}}{{{3|}}}...{{{100|}}}''</nowiki>
 
  Foo: <nowiki>''{{{1|}}}{{{2|}}}{{{3|}}}...{{{100|}}}''</nowiki>

Latest revision as of 15:27, 8 September 2013

Use to create a template that combines {{{1}}} to {{{100}}} into one parameter, ignoring the pipes separating the arguments.

Examples[edit]

Page: Template:Foo

Foo: ''{{subst:Params/combine arguments}}''

After saving, becomes:

Foo: ''{{{1|}}}{{{2|}}}{{{3|}}}...{{{100|}}}''