Template talk:Text: Difference between revisions
Jump to navigation
Jump to search
(Sort key) |
(reply, with some examples) |
||
Line 6: | Line 6: | ||
Also, what is the second parameter good for? A documentation with examples would help :). Thanks! -- [[User:Carlos|Carlos]]<sup><small>[[User talk:Carlos|Talk]]</small></sup> 13:43, 30 April 2008 (PDT) | Also, what is the second parameter good for? A documentation with examples would help :). Thanks! -- [[User:Carlos|Carlos]]<sup><small>[[User talk:Carlos|Talk]]</small></sup> 13:43, 30 April 2008 (PDT) | ||
: Done. I've been too busy to add documentation, but | |||
:: <tt>><nowiki>{{text|XYZ|ABC|MNO}}</nowiki></tt> | |||
: would result in the banner <big>'''ABCXYZ text'''</big>, sorted with sort key MNO. Notice that the (non-existent) [[Image:XYZ.png]] does not get linked. | |||
: A more typical usage might be | |||
:: <tt>><nowiki>{{text|Quenya| }}</nowiki></tt> | |||
: resulting in <big>'''Quenya text'''</big> (no flag). | |||
: -- [[User:CHGiffen|Chuck]][[User talk:CHGiffen|<sub><small>'''talk'''</small></sub>]] [[User:Charles H. Giffen|Giffen]][[Charles H. Giffen|<sub>'''♫'''</sub>]] 14:29, 30 April 2008 (PDT) |
Revision as of 21:29, 30 April 2008
Sort key
Please could any of the admins edit this template to allow for a third optional sort key parameter? I believe we'd have to add the code in red (not sure):
[[Category:{{{1}}} texts|{{{3|{{PAGENAME}}}}}]]
Also, what is the second parameter good for? A documentation with examples would help :). Thanks! -- CarlosTalk 13:43, 30 April 2008 (PDT)
- Done. I've been too busy to add documentation, but
- >{{text|XYZ|ABC|MNO}}
- would result in the banner ABCXYZ text, sorted with sort key MNO. Notice that the (non-existent) File:XYZ.png does not get linked.
- A more typical usage might be
- >{{text|Quenya| }}
- resulting in Quenya text (no flag).
- -- Chucktalk Giffen♫ 14:29, 30 April 2008 (PDT)