Vorlage:Cite tweet: Unterschied zwischen den Versionen

add error check for ref=harv instead of using harvid template
(add ref= for use with sfn and harvid)
(add error check for ref=harv instead of using harvid template)
Zeile 35: Zeile 35:


No user  --> {{#if:{{{user|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||&#59;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
No user  --> {{#if:{{{user|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||&#59;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
ref=harv instead of harvid --> {{#ifeq:{{{ref|}}}|harv|<span style="font-size:100%" class="error citation-comment">Harvid template must be used with <kbd>&#124;ref=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||&#59;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--


No number --> {{#if:{{{number|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||&#59;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
No number --> {{#if:{{{number|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||&#59;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--


No date  --> {{#if:{{{date|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly><noinclude>{{documentation}}</noinclude>
No date  --> {{#if:{{{date|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly><noinclude>{{documentation}}</noinclude>
Anonymer Benutzer