小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>{{#if:{{{2|}}}|<span class="inline-sup" style="background-color:{{#ifeq:{{{cat| | <includeonly>{{#if:{{{2|}}}|<span class="inline-sup" style="background-color:{{#ifeq:{{{cat| 需要核实}}}|0|#f9f9f9|#fff9f9}}; color:DarkSlateGray;border:1px solid {{#ifeq:{{{cat| 需要核实}}}|0|#dcdcdc|#ffdcdc}}">{{{2|}}}</span> }}<sup class="inline-sup" style="white-space:nowrap;">[<i>{{{1}}}</i>]</sup>{{#ifeq:{{{cat| 需要核实}}}|0||[[Category:{{{cat| 需要核实}}}]]}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
For wiki editors' inline critical notes <sup class="inline-sup" style="white-space:nowrap;">[<i>Such as this?</i>]</sup> | For wiki editors' inline critical notes <sup class="inline-sup" style="white-space:nowrap;">[<i>Such as this?</i>]</sup> | ||
===OPTIONAL: Categorisation <nowiki>{{{cat|}}}</nowiki>=== | ===OPTIONAL: Categorisation <nowiki>{{{cat|}}}</nowiki>=== | ||
<code><nowiki>{{sup|...|cat=...}}</nowiki></code> overrides the default injected [[:Category: | <code><nowiki>{{sup|...|cat=...}}</nowiki></code> overrides the default injected [[:Category: 需要核实]]. | ||
cat=0 disables categorisation. | cat=0 disables categorisation. |
2020年11月8日 (日) 15:30的版本
Usage
For wiki editors' inline critical notes [Such as this?]
OPTIONAL: Categorisation {{{cat|}}}
{{sup|...|cat=...}}
overrides the default injected Category:需要核实.
cat=0 disables categorisation.
OPTIONAL: Referencing {{{2}}}
{{Sup|... superscript note ...|... text to interrogate ...}}
E.g:
Whilst milk is almost always white, {{sup|Bollocks|cheese is universally black}}"
... renders...
Whilst milk is almost always white, cheese is universally black [Bollocks]. Its edit history can be viewed at Template:Sup/edithistory