Template talk:Text: Difference between revisions
Jump to navigation
Jump to search
m (removed sortkey from documentation) |
|||
Line 8: | Line 8: | ||
: Done. I've been too busy to add documentation, but | : Done. I've been too busy to add documentation, but | ||
:: <tt><nowiki>{{text|XYZ|ABC | :: <tt><nowiki>{{text|XYZ|ABC}}</nowiki></tt> | ||
: would result in the banner <big>'''ABCXYZ text'''</big> | : would result in the banner <big>'''ABCXYZ text'''</big>. Notice that the (non-existent) [[Image:XYZ.png]] does not get linked. | ||
: A more typical usage might be | : A more typical usage might be | ||
:: <tt><nowiki>{{text|Quenya|}}</nowiki></tt> | :: <tt><nowiki>{{text|Quenya|}}</nowiki></tt> |
Revision as of 04:03, 19 December 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}}
- would result in the banner ABCXYZ text. 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)
- Hi Chuck, thanks for the examples, now it's clear! Is there a way to extend the banner text and still keep the flag? A use for it that comes to my mind is in John Dowland's works, for instance, where we would be able to display " Early Modern English" ( {{Text|English| Early Modern}} ). But perhaps it's too much detail.
- -- CarlosTalk 06:37, 7 May 2008 (PDT)