Template:PreviewEditor: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Fork Template:Editor.)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#switch:{{{1}}}
|2=:'''{{{edtype|Editor}}}s:''' {{#ifexist:User:{{{2}}}|[[User:{{{2}}}|{{{alted1|{{{2}}}}}}]]|{{{2}}}<small><sup>[{{fullurl:User:{{{2}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}} and {{#ifexist:User:{{{3}}}|[[User:{{{3}}}|{{{alted2|{{{3}}}}}}]]|{{{3}}}<small><sup>[{{fullurl:User:{{{3}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{2}}} editions]][[Category:{{{3}}} editions]]
|2={{{edtype|editor}}}s: {{#ifexist:User:{{{2}}}|[[User:{{{2}}}|{{{alted1|{{{2}}}}}}]]|{{{2}}}<small><sup>[{{fullurl:User:{{{2}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}} and {{#ifexist:User:{{{3}}}|[[User:{{{3}}}|{{{alted2|{{{3}}}}}}]]|{{{3}}}<small><sup>[{{fullurl:User:{{{3}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{2}}} editions]][[Category:{{{3}}} editions]]
|3=:'''{{{edtype|Editor}}}s:''' {{#ifexist:User:{{{2}}}|[[User:{{{2}}}|{{{alted1|{{{2}}}}}}]]|{{{2}}}<small><sup>[{{fullurl:User:{{{2}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}, {{#ifexist:User:{{{3}}}|[[User:{{{3}}}|{{{alted2|{{{3}}}}}}]]|{{{3}}}<small><sup>[{{fullurl:User:{{{3}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}} and {{#ifexist:User:{{{4}}}|[[User:{{{4}}}|{{{alted3|{{{4}}}}}}]]|{{{4}}}<small><sup>[{{fullurl:User:{{{4}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{2}}} editions]][[Category:{{{3}}} editions]][[Category:{{{4}}} editions]]
|3={{{edtype|editor}}}s: {{#ifexist:User:{{{2}}}|[[User:{{{2}}}|{{{alted1|{{{2}}}}}}]]|{{{2}}}<small><sup>[{{fullurl:User:{{{2}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}, {{#ifexist:User:{{{3}}}|[[User:{{{3}}}|{{{alted2|{{{3}}}}}}]]|{{{3}}}<small><sup>[{{fullurl:User:{{{3}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}} and {{#ifexist:User:{{{4}}}|[[User:{{{4}}}|{{{alted3|{{{4}}}}}}]]|{{{4}}}<small><sup>[{{fullurl:User:{{{4}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{2}}} editions]][[Category:{{{3}}} editions]][[Category:{{{4}}} editions]]
|#default=:'''{{{edtype|Editor}}}:''' {{#if:{{{1|}}}|{{#ifexist:User:{{{1}}}|[[User:{{{1}}}|{{{alted|{{{1}}}}}}]]|{{{1}}}<small><sup>[{{fullurl:User:{{{1}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{1}}} editions]]|{{cat|Unknown editors|Unknown}}}}
|#default={{{edtype|editor}}}: {{#if:{{{1|}}}|{{#ifexist:User:{{{1}}}|[[User:{{{1}}}|{{{alted|{{{1}}}}}}]]|{{{1}}}<small><sup>[{{fullurl:User:{{{1}}}|action=edit&preload=Template:New_editor/Preload}} create page]</sup></small>[[Category:Editions with nonexistent editor page]]}}[[Category:{{{1}}} editions]]|{{cat|Unknown editors|Unknown}}}}
}}<!--end switch--></includeonly><noinclude>
}}<!--end switch--></includeonly><noinclude>
{{prot-temp}}<br>
{{prot-temp}}<br>

Latest revision as of 14:16, 14 February 2018


Documentation

This is a modified copy of Template:Editor, sharing the accepted syntaxes and part of the presentation.