Template:Pagenotice: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(+STUB, +STUB.LEG, (minor preview rewrite))
m (fixup: missing one ".LEG" case.)
Line 45: Line 45:


}}{{#switch:STUB.LEG|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}=*<b>[[:Category:Pagenotice-STUB.LEG|STUB.LEG]]</b>: Legacy Stub article(s) in need of expansion.
}}{{#switch:STUB.LEG|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}=*<b>[[:Category:Pagenotice-STUB.LEG|STUB.LEG]]</b>: Legacy Stub article(s) in need of expansion.
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice-STUB]]}}
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice-STUB.LEG]]}}


}}
}}

Revision as of 16:51, 4 July 2019


Pagenotice Talk
For code related stuff, use the related template talk page.
For Page-notice usage/TAG ideas/suggestions/etc, use the related Page-notice category talk page.


Features
Current maximum number of inputs on Pagenotice template call: 5


DEBUG/PREVIEWs

Available cases:1) "{{Pagenotice|FOOD|OUT|SAT|OTHER|STUDYTIME}}"

Wiki-content.png

Page Notices:

  • (other): Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  • SAT: World-11 Satiation data may not be accurate yet on this page. (or might be missing)
  • STUDYTIME: (Old, Currently none active tag).
  • OUT: The data on this page is probably/considered outdated.

To disable a particular Tag-message, after checking/fixing the related issue, remove its TAG from the "Pagenotice" call.


Available cases:2) "{{Pagenotice|STUB|STUB.LEG}}"

Wiki-content.png

Page Notices:

  • STUB: Stub article(s) in need of expansion.
  • STUB.LEG: Legacy Stub article(s) in need of expansion.

To disable a particular Tag-message, after checking/fixing the related issue, remove its TAG from the "Pagenotice" call.


Empty case "Foo {{Pagenotice}} Bar" or "Foo {{Pagenotice|}} Bar" Foo Bar


Misfit case "{{Pagenotice|misfit}}"

Wiki-content.png

Page Notices:
To disable a particular Tag-message, after checking/fixing the related issue, remove its TAG from the "Pagenotice" call.

(Misfit is a test case TAG)