Difference between revisions of "Template:Fixcaps"
imported>Wikid77 (updated doctext at "Usage" to note the results can be wp:Subst'ed into a page during edit SAVE.) |
imported>Wikid77 (vastly expanded to allow 8 parameters & pass wikilinks as isolated parameters, not inside other parameter text; +examples of multiple parameters & showing wikilinked text.) |
||
| Line 66: | Line 66: | ||
|{{ {{{|safesubst:}}}#titleparts:{{{1}}}|1|24}}}}<noinclude><!-- | |{{ {{{|safesubst:}}}#titleparts:{{{1}}}|1|24}}}}<noinclude><!-- | ||
--></noinclude>{{ {{{|safesubst:}}}Str case title word | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| − | |{{ {{{|safesubst:}}}#titleparts:{{{1}}}|1|25}}}}<noinclude> | + | |{{ {{{|safesubst:}}}#titleparts:{{{1}}}|1|25}}}}<noinclude><!-- |
| + | ------------------------------------------------------------- Parameter 2 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{2|}}} }} | ||
| + | | = | ||
| + | | [ = {{{2|[[Testing 2]]}}}  | ||
| + | | ] = {{{2|]] Testing 2b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{2|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{2}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{2}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{2}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{2}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {2} passed -- | ||
| + | ------------------------------------------------------------- Parameter 3 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{3|}}} }} | ||
| + | | = | ||
| + | | [ = {{{3|[[Testing 3]]}}}  | ||
| + | | ] = {{{3|]] Testing 3b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{3|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{3}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{3}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{3}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{3}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {3} passed -- | ||
| + | ------------------------------------------------------------- Parameter 4 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{4|}}} }} | ||
| + | | = | ||
| + | | [ = {{{4|[[Testing 4]]}}}  | ||
| + | | ] = {{{4|]] Testing 4b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{4|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{4}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{4}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{4}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{4}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {4} passed -- | ||
| + | ------------------------------------------------------------- Parameter 5 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{5|}}} }} | ||
| + | | = | ||
| + | | [ = {{{5|[[Testing 5]]}}}  | ||
| + | | ] = {{{5|]] Testing 5b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{5|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{5}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{5}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{5}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{5}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {5} passed -- | ||
| + | ------------------------------------------------------------- Parameter 6 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{6|}}} }} | ||
| + | | = | ||
| + | | [ = {{{6|[[Testing 6]]}}}  | ||
| + | | ] = {{{6|]] Testing 6b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{6|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{6}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{6}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{6}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{6}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {6} passed -- | ||
| + | ------------------------------------------------------------- Parameter 7 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{7|}}} }} | ||
| + | | = | ||
| + | | [ = {{{7|[[Testing 7]]}}}  | ||
| + | | ] = {{{7|]] Testing 7b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{7|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{7}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{7}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{7}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{7}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {7} passed -- | ||
| + | ------------------------------------------------------------- Parameter 8 | ||
| + | --></noinclude>{{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{8|}}} }} | ||
| + | | = | ||
| + | | [ = {{{8|[[Testing 8]]}}}  | ||
| + | | ] = {{{8|]] Testing 8b}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}padleft:|1|{{{8|wORd}}} }} | ||
| + | | " = {{ {{{|safesubst:}}}#ifeq:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{8}}}|1|1}}|"|"<noinclude><!-- | ||
| + | else--></noinclude>|{{ {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{8}}}|1|1}} }} }} | ||
| + | | ^ = {{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|1}}|1}}  | ||
| + | | + = {{ {{{|safesubst:}}}lc:{{ {{{|safesubst:}}}str right | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|1}}|1}}}}  | ||
| + | | #default = {{ | ||
| + | {{{|safesubst:}}}ucfirst:{{ | ||
| + | {{{|safesubst:}}}lc:{{ {{{ | ||
| + | |safesubst:}}}#titleparts:{{{8}}}|1|1}}}}}}  | ||
| + | }}<noinclude><!--endswitch (padleft for 1)-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|2}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|3}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|4}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|5}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|6}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|7}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|8}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|9}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|10}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|11}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|12}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|13}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|14}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|15}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|16}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|17}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|18}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|19}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|20}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|21}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|22}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|23}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|24}}}}<noinclude><!-- | ||
| + | --></noinclude>{{ {{{|safesubst:}}}Str case title word | ||
| + | |{{ {{{|safesubst:}}}#titleparts:{{{8}}}|1|25}}}} | ||
| + | }}<noinclude><!--endswitch {8} passed--> | ||
<br>The '''[[Template:Fixcaps]]''' sets the lowercase or capital-letter format of each word (or phrase) in a slash-encoded title, as with a book or film title. | <br>The '''[[Template:Fixcaps]]''' sets the lowercase or capital-letter format of each word (or phrase) in a slash-encoded title, as with a book or film title. | ||
: '''Usage:''' <nowiki>{{Fixcaps|GOnE wiTH tHE /winD}}</nowiki> → {{Fixcaps|GOnE wiTH tHE /winD}} | : '''Usage:''' <nowiki>{{Fixcaps|GOnE wiTH tHE /winD}}</nowiki> → {{Fixcaps|GOnE wiTH tHE /winD}} | ||
::: {{fixcaps|JOHN/DOE,/"/PROPER/PUNCTUATION/OF/TITLES"}} → {{fixcaps|JOHN/DOE,/"/PROPER/PUNCTUATION/OF/TITLES"}} | ::: {{fixcaps|JOHN/DOE,/"/PROPER/PUNCTUATION/OF/TITLES"}} → {{fixcaps|JOHN/DOE,/"/PROPER/PUNCTUATION/OF/TITLES"}} | ||
| + | ::: {{fixcaps|SHOW|<nowiki>[[wikilink]]ed</nowiki>|+TEXT.}} → <nowiki>Show [[wikilink]]ed text.</nowiki> | ||
::: {{subst:fixcaps|"/SAVE/INSIDE/PAGE"}} → "Save Inside Page"  | ::: {{subst:fixcaps|"/SAVE/INSIDE/PAGE"}} → "Save Inside Page"  | ||
| − | Most words will be displayed with a capital-letter, followed by all lowercase letters, while a [[preposition]] or article (a/an/the) will be shown in lowercase letters. A leading "+" forces lowercase. A leading [[caret]] symbol ("^") will cause the text to display unchanged, so "^woRDs" would show "woRDs". Prepositions include: ''about, above, after, at, before, by, for, in, of, on, with'' and ''without''. Each word to capitalize must be preceded by a slash ("/"), but all spaces could be slashes, and prepositions would still display in lowercase letters. Only 25 slashes are allowed, or about 40-45 words (2 lines of text), and | + | Most words will be displayed with a capital-letter, followed by all lowercase letters, while a [[preposition]] or article (a/an/the) will be shown in lowercase letters. A leading "+" forces lowercase. A leading [[caret]] symbol ("^") will cause the text to display unchanged, so "^woRDs" would show "woRDs". Prepositions include: ''about, above, after, at, before, by, for, in, of, on, with'' and ''without''. Each word to capitalize must be preceded by a slash ("/"), but all spaces could be slashes, and prepositions would still display in lowercase letters. Only 25 slashes are allowed in each parameter, or about 40-45 words (2 lines of text), and a wikilink must be in a separate parameter, not embedded inside other text (see below: [[#Limitations|Limitations]]). A total of 8 parameters are allowed, or about 320-360 words. |
| − | The resulting | + | The resulting text, with mixed capital and lowercase letters, can be [[wp:Subst]]'ed into the page during edit SAVE, or copy-pasted back into the text, using the template as an editing gadget. |
An extra space is added at the end of each slashed part except after a single quotation mark, left parenthesis, [[em dash]], or apostrophes (<nowiki>'''</nowiki>). | An extra space is added at the end of each slashed part except after a single quotation mark, left parenthesis, [[em dash]], or apostrophes (<nowiki>'''</nowiki>). | ||
| Line 87: | Line 578: | ||
A major use for the template would be in reformatting long lists of book titles entered as ALL-CAPS text, while inserting formatting codes for italics, footnotes or bolded volume numbers. Occasionally, entire sections or paragraphs of an article might contain ALL UPPERCASE TEXT, and the template can be used to more easily downcase all the improperly formatted text. | A major use for the template would be in reformatting long lists of book titles entered as ALL-CAPS text, while inserting formatting codes for italics, footnotes or bolded volume numbers. Occasionally, entire sections or paragraphs of an article might contain ALL UPPERCASE TEXT, and the template can be used to more easily downcase all the improperly formatted text. | ||
| − | :* <nowiki>{{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE /BRITISH /RAJ, INTO THE 20TH CENTURY.}}</nowiki> →<br>{{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE /BRITISH /RAJ, INTO THE 20TH CENTURY. | + | :* <nowiki>{{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE |[[|/BRITISH /RAJ|]],|+INTO THE 20TH CENTURY. /EARLY COMPUTERS USED |[[teletype]]s|+ WHICH DISPLAYED TEXT IN/^ALL-CAPS/+UPPERCASE LETTERS, AND/+NO COMPUTER DOCUMENTS HAD LOWERCASE TEXT.}} |
| + | </nowiki> →<br>{{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE |[[|/BRITISH /RAJ|]],|+INTO THE 20TH CENTURY. /EARLY COMPUTERS USED |[[teletype]]s|+WHICH DISPLAYED TEXT IN/^ALL-CAPS/+UPPERCASE LETTERS, AND/+NO COMPUTER DOCUMENTS HAD LOWERCASE TEXT.}} | ||
Just inserting a few slashes into the text, such as at the start of sentences and town names, can easily salvage a whole paragraph of caps-only text, within 1 minute. Wikilinks are NOT allowed within the text. | Just inserting a few slashes into the text, such as at the start of sentences and town names, can easily salvage a whole paragraph of caps-only text, within 1 minute. Wikilinks are NOT allowed within the text. | ||
== Limitations == | == Limitations == | ||
| − | Fixcaps is limited by restrictions set in the [[MediaWiki]] software, version {{CURRENTVERSION}}, of about 40-45 words (255 characters, or about 2 lines of text). Wikilinks | + | Fixcaps is limited by restrictions set in the [[MediaWiki]] software, version {{CURRENTVERSION}}, of about 40-45 words (255 characters, or about 2 lines of text). Wikilinks must be separate parameters, not embedded within the text, or start another {{fixcaps}} after a wikilink. The encoding of the text is limited to 25 slashes in each parameter, and the enclosed text cannot display slashes, except using a slash-backslash ("/\/") to display a forward slash. A total of eight (8) parameters are allowed, to handle 320-360 words or about 16 lines. For larger sections, use multiple {{fixcaps}} to handle 700 or more words, or for each 16 lines of text. |
Special conditions: | Special conditions: | ||
:* forcing lowercase letters - put "+" after slash ("/+LOWER") to force text as "lower" | :* forcing lowercase letters - put "+" after slash ("/+LOWER") to force text as "lower" | ||
:* forcing uppercase letters - put "^" after slash ("/^eXacT") to force as exact case "eXacT" | :* forcing uppercase letters - put "^" after slash ("/^eXacT") to force as exact case "eXacT" | ||
| + | :* splitting wikilinks - use 5 parameters "text|[[|LINKED TEXT|]]|+more here" | ||
| + | :* 40-word parameters {{in5}} - use multiple parameters for each 40 words | ||
| + | :* maximum 8 parameters - use multiple {{fixcaps}} for longer text | ||
| + | :* using [[wp:Subst]] - use {{subst:fixcaps}} to store results upon SAVE of edit. | ||
Any other character after the slash will cause the text to have all lowercase letters. | Any other character after the slash will cause the text to have all lowercase letters. | ||
| Line 133: | Line 629: | ||
--17May2012 Noted limit 40-45 words (255 characters, or 2 text lines). | --17May2012 Noted limit 40-45 words (255 characters, or 2 text lines). | ||
--17May2012 Rewrote to use {|safesubst:} everywhere, for [[WP:Subst]]. | --17May2012 Rewrote to use {|safesubst:} everywhere, for [[WP:Subst]]. | ||
| + | --24May2012 Vastly expanded to allow 8 parameters & pass wikilinks. | ||
[[Category:Wikipedia formatting and function templates|Str case title word]] | [[Category:Wikipedia formatting and function templates|Str case title word]] | ||
[[Category:Templates with minimum expansion depth]] | [[Category:Templates with minimum expansion depth]] | ||
</noinclude> | </noinclude> | ||
Revision as of 22:46, 24 May 2012
{{{1}}} Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
The Template:Fixcaps sets the lowercase or capital-letter format of each word (or phrase) in a slash-encoded title, as with a book or film title.
- Usage: {{Fixcaps|GOnE wiTH tHE /winD}} → Gone with the Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
- {{fixcaps|JOHN/DOE,/"/PROPER/PUNCTUATION/OF/TITLES"}} → John Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
- {{fixcaps|SHOW|[[wikilink]]ed|+TEXT.}} → Show [[wikilink]]ed text.
- {{subst:fixcaps|"/SAVE/INSIDE/PAGE"}} → "Save Inside Page"
Most words will be displayed with a capital-letter, followed by all lowercase letters, while a preposition or article (a/an/the) will be shown in lowercase letters. A leading "+" forces lowercase. A leading caret symbol ("^") will cause the text to display unchanged, so "^woRDs" would show "woRDs". Prepositions include: about, above, after, at, before, by, for, in, of, on, with and without. Each word to capitalize must be preceded by a slash ("/"), but all spaces could be slashes, and prepositions would still display in lowercase letters. Only 25 slashes are allowed in each parameter, or about 40-45 words (2 lines of text), and a wikilink must be in a separate parameter, not embedded inside other text (see below: Limitations). A total of 8 parameters are allowed, or about 320-360 words.
The resulting text, with mixed capital and lowercase letters, can be wp:Subst'ed into the page during edit SAVE, or copy-pasted back into the text, using the template as an editing gadget.
An extra space is added at the end of each slashed part except after a single quotation mark, left parenthesis, em dash, or apostrophes (''').
Examples
The following are some other examples:
- {{fixcaps|A./EINSTEIN. ''/oUT OF/mY/lATEr/YEaRS''}} → A. Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
- {{fixcaps|W./MOZART. ''/eiNE KLEINE /nachTMUSIK'' (ORCHESTRAL COMPOSITION)}} → W. Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
- {{fixcaps|+WHEN THE/^UN/ORGANIZATION BEGAN IN 1946.}} → when the Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
A major use for the template would be in reformatting long lists of book titles entered as ALL-CAPS text, while inserting formatting codes for italics, footnotes or bolded volume numbers. Occasionally, entire sections or paragraphs of an article might contain ALL UPPERCASE TEXT, and the template can be used to more easily downcase all the improperly formatted text.
- {{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE |[[|/BRITISH /RAJ|]],|+INTO THE 20TH CENTURY. /EARLY COMPUTERS USED |[[teletype]]s|+ WHICH DISPLAYED TEXT IN/^ALL-CAPS/+UPPERCASE LETTERS, AND/+NO COMPUTER DOCUMENTS HAD LOWERCASE TEXT.}}
→
The Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word[[|/BRITISH /RAJ|]], into the 20th century. Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordteletypes which displayed text in Template:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title wordTemplate:Str case title word
- {{fixcaps|THE ''/TIMES OF /INDIA'' REPORTED MANY CASES OF UNREST IN BOTH EARLY AND LATE YEARS OF THE |[[|/BRITISH /RAJ|]],|+INTO THE 20TH CENTURY. /EARLY COMPUTERS USED |[[teletype]]s|+ WHICH DISPLAYED TEXT IN/^ALL-CAPS/+UPPERCASE LETTERS, AND/+NO COMPUTER DOCUMENTS HAD LOWERCASE TEXT.}}
→
Just inserting a few slashes into the text, such as at the start of sentences and town names, can easily salvage a whole paragraph of caps-only text, within 1 minute. Wikilinks are NOT allowed within the text.
Limitations
Fixcaps is limited by restrictions set in the MediaWiki software, version 1.34.2, of about 40-45 words (255 characters, or about 2 lines of text). Wikilinks must be separate parameters, not embedded within the text, or start another {{fixcaps}} after a wikilink. The encoding of the text is limited to 25 slashes in each parameter, and the enclosed text cannot display slashes, except using a slash-backslash ("/\/") to display a forward slash. A total of eight (8) parameters are allowed, to handle 320-360 words or about 16 lines. For larger sections, use multiple {{fixcaps}} to handle 700 or more words, or for each 16 lines of text.
Special conditions:
- forcing lowercase letters - put "+" after slash ("/+LOWER") to force text as "lower"
- forcing uppercase letters - put "^" after slash ("/^eXacT") to force as exact case "eXacT"
- splitting wikilinks - use 5 parameters "text|[[|LINKED TEXT|]]|+more here"
- 40-word parameters - use multiple parameters for each 40 words
- maximum 8 parameters - use multiple {{fixcaps}} for longer text
- using wp:Subst - use {{subst:fixcaps}} to store results upon SAVE of edit.
Any other character after the slash will cause the text to have all lowercase letters.
See also
- Template:Strfind short - quickly finds a string in a line of text
- String templates see also text
- WP:substitution and Template:Subst - explain how to use subst: ({{subst:Fixcaps|(string)}} will permanently fix a block of text)