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>|user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||;}}</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>|user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||;}}</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>|ref=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</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>|number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</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>|number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</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>|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>|date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly><noinclude>{{documentation}}</noinclude> | ||