Template:Vertical/doc: Difference between revisions
From MediaWiki
Jump to navigationJump to search New page: <nowiki>{{vertical}}</nowiki> is uses to create an unordered list from a string, with each list item containing a single letter of that string. <pre>{{vertical |baby}}</pre> {{vertical|ba... |
mNo edit summary |
||
| Line 8: | Line 8: | ||
This template will convert all "_" to blank spaces. | This template will convert all "_" to blank spaces. | ||
{{note | {{note|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. -[[User:Derik|Derik]] 19:33, 22 March 2009 (EDT) | :This template should probably be classed as "in progress and not usable" until there is supporting CSS written. -[[User:Derik|Derik]] 19:33, 22 March 2009 (EDT) | ||
Latest revision as of 23:34, 22 March 2009
{{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)

