Vorlage:Cite tweet: Unterschied zwischen den Versionen
categorise "no title" errors in Category:Cite tweet templates with errors, and add semicolon when there are other errors
(update from sandbox, per Help_talk:Citation_Style_1#Adding_retweet_parameter_to_cite_tweet_and_twitter_status) |
(categorise "no title" errors in Category:Cite tweet templates with errors, and add semicolon when there are other errors) |
||
| Zeile 10: | Zeile 10: | ||
}}<!-- | }}<!-- | ||
====== Error checking ====== | ====== Error checking ====== | ||
No title -->{{#if:{{{title|}}}||{{#ifeq: {{{user|}}}{{{number|}}}{{{date|}}} | {{{user}}}{{{number}}}{{{date}}}||<span style="font-size:100%" class="error citation-comment">;</span>}}{{main other|[[Category:Cite tweet templates with errors]]}} }}<!-- | |||
(Note: error message is provided by CS1 module) | |||
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]]}} }}<!-- | ||
| Zeile 15: | Zeile 18: | ||
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]]}} }}<!-- | 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]]}} }}<!-- | ||
=========================--><noinclude>{{documentation}}</noinclude> | =========================--><noinclude>{{documentation}}</noinclude> | ||