Template:T: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


{{t|module:case|split=od|replace=од}}
{{t|module:case|split=od|replace=од}}
{{t|now i can test a really long title with many of the words i want to test for|nolink=true}}


==Variables==
==Variables==

Revision as of 03:36, 23 May 2021

Lean To

MодUle:case

Now I Can Test a Really Long Title With Many of the Words I Want to Test For

Variables

  • 1=link
  • lower=(list of words to be set to lowercase, separated by a comma) (defaults to 'a,and,by,for,in,of,or,the,to') (the first and last word of the link is always in title case, regardless of this setting)
  • split=(char(s) to split on) (defaults to the space character)
  • plain=(set to false to use ustring patterns)
  • replace=(char(s) to replace what you split on instead of just using split itself, necessary if using a ustring pattern)
  • nolink=(if set to true, no link will be generated, only the text will be set) (defaults to false)