Features edit

Templates: masterseriousissuecontentissuestyleissuearticlenotice

The general idea is that being able to type in {{seriousissue|Explanatory text here}} is better than putting a bunch of wiki or HTML syntax in every template that follows the same form. We can and should still use CSS in the master template (because CSS reduces parsing on server and client and conserves bandwidth and can be cached and all that good stuff). Some examples of features of the proposed implementation:


  Just a message (serious issue)


Wikipedia:Template standardisation/styleissue


  Just a message (Article notice)


  Just a message (content issue)


  Specify a different icon


Specify a blank space (to line up with messages with icons)


Specify no icon at all

Following are some comparisons of syntax with the meta template proposal and without it. Click the "Edit" link for the H2 (headers with lines under them) to compare the wiki syntax easily. In most cases, the "with meta" syntax is significantly clearer to read and edit.

Note that all of these examples take the form of {{Wikipedia:Template standardisation/templatename}} because this is just a proposal at this point. If implemented, the "production" names would be things like {{contentissue}} or whatever. So the actual benefit would be even clearer than the following would suggest.

Short example edit

No meta edit

  A short example

Use meta edit

  A short example

Medium example edit

No meta edit

  The neutrality of this article is disputed.
Please see the discussion on the talk page.

Use meta edit

  The neutrality of this article is disputed.
Please see the discussion on the talk page.

Complicated example edit

No meta edit

This article is being considered for deletion in accordance with Wikipedia's deletion policy.
Please share your thoughts on the matter at this article's entry on the Articles for deletion page. Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the guide to deletion.

Steps to list an article for deletion: {{subst:afd}} • Preloaded debate OR {{subst:afd2|pg=Template standardisation/demometa|cat=|text=}} • {{subst:afd3|pg=Template standardisation/demometa}} log

Use meta edit

This article is being considered for deletion in accordance with Wikipedia's deletion policy.
Please share your thoughts on the matter at this article's entry on the Articles for deletion page. Feel free to edit the article, but the article must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, particularly on merging or moving the article during the discussion, read the guide to deletion.

Steps to list an article for deletion: {{subst:afd}} • Preloaded debate OR {{subst:afd2|pg=Template standardisation/demometa|cat=|text=}} • {{subst:afd3|pg=Template standardisation/demometa}} log

Can't put equals signs or pipes in actual parameters to templates, because parser thinks it's trying to be another template parameter. Can be worked around using {{!}} and = and explicit template parameter names but I'm not sure that's worth the trouble.

See also edit