Template:Vertical/doc

From MediaWiki
Jump to navigationJump to search

{{vertical}} is uses to create an unordered list from a string, with each list item containing a single letter of that string.

{{vertical
|baby}}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|0|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|1|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|2|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|3|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|4|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|5|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|6|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|7|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|8|1}}|_| }}
  • {{#replace:{{#sub:{{#replace:baby| |_}}|9|1}}|_| }} Template loop detected: Template:Vertical recurs

Hypothetically, if styled visa (non-inline) CSS, this might prove useful for very specific applications, generally within other templates.

This template will convert all "_" to blank spaces.

This limitation negotiable, if ti becomes a major problem later. Another "control" character can be chosen.


This template should probably be classed as "in progress and not usable" until there is supporting CSS written. -Derik 19:33, 22 March 2009 (EDT)

Resource templates

[edit]
[edit]