Difference between revisions of "Template:Nornabrn"
Jump to navigation
Jump to search
Griceylipper (talk | contribs) (nornsp result) |
Griceylipper (talk | contribs) (Change so second parameter stops it being spaced out.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | + | If the second parameter is supplied, don't space out result | |
− | -->{{ | + | -->{{#if: {{{2|}}}<!-- |
− | + | Check if the switch "database" knows this abbreviation or not | |
− | + | -->|{{#ifeq:{{Nornabrn/switch|{{{1}}}}}|Error<!-- | |
− | -->{{ | + | |
− | --><span title="{{{ | + | Unknown: Report an error |
− | + | -->|{{error|Unrecognised abbreviation: {{{1}}}}}<!-- | |
+ | Known: output the abbreviation | ||
+ | -->|<span title="{{Nornabrn/switch|{{{1}}}}}">{{{1}}}</span><!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | Otherwise, space out result | ||
+ | -->|{{nornsp<!-- | ||
+ | Check if the switch "database" knows this abbreviation or not | ||
-->|{{#ifeq:{{Nornabrn/switch|{{{1}}}}}|Error<!-- | -->|{{#ifeq:{{Nornabrn/switch|{{{1}}}}}|Error<!-- | ||
Line 13: | Line 20: | ||
Known: output the abbreviation | Known: output the abbreviation | ||
-->|<span title="{{Nornabrn/switch|{{{1}}}}}">{{{1}}}</span><!-- | -->|<span title="{{Nornabrn/switch|{{{1}}}}}">{{{1}}}</span><!-- | ||
− | -->}}<!-- | + | -->}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 16:33, 1 January 2021
Co dovran ins quest model?
La chascha alva cuntegna infurmaziuns davart il scopo ed il diever da quest model.
Fin ussa n'existan anc naginas instrucziun per quest model.
Ils editurs pon experimentar sin la pagina da provas.
Per plaschair agiunscha las categorias sin la sutpagina da documentaziun ed ils interwikis sin Wikidata. Sutpaginas da quest model.
Per plaschair agiunscha las categorias sin la sutpagina da documentaziun ed ils interwikis sin Wikidata. Sutpaginas da quest model.