Template:ux/documentation: difference between revisions

Content deleted Content added
properly document lit= and sub=
Document qualifier
Line 17:
; {{para|inline}}
: To include the translation in the same line as the example, separated from the example by em dash, assuming that the example, its translation and transliteration are short enough to fit in a single line. (Set it to 1 to choose inline mode.)
; {{para|qualifier}}, {{para|qualifierN}}
: To include a qualifier. You can specify multiple qualifiers by suffixing a number.
; {{para|ref}}
: To include a reference or link to an originating external site.
Line 92 ⟶ 94:
'''Output'''
#: {{ux|ru|Полицейские огородили середину шоссе́ на гора́х, '''всле́дствие чего́''' бегле́ц был на воле.|Police officers blocked the middle of the highway '''as a consequence that''' a fugitive was on the loose.|sub=шоссе́/шоссэ́}}
 
'''Wikitext'''
<nowiki>#: {{ux|de|fließen|qualifier=Germany}}</nowiki>
<nowiki>#: {{ux|de|fliessen|qualifier1=Switzerland|qualifier2=Liechtenstein}}</nowiki>
 
'''Output'''
#: {{ux|de|fließen|qualifier=Germany}}
#: {{ux|de|fliessen|qualifier1=Switzerland|qualifier2=Liechtenstein}}
 
==See also==
Line 142 ⟶ 152:
"example": "to fly like plywood over Paris"
},
"qualifier": {
"label": "qualifier",
"type": "string",
"description": "To qualify an example with a region or register, or a type of usage.",
"example": "informal"
},
"ref": {
"label": "reference",
Line 180 ⟶ 196:
"sc",
"inline",
"qualifier",
"ref",
"lit",