Template:Pagenotice: Difference between revisions
Jump to navigation
Jump to search
(+ ISSUE tag - with remark input.) |
(+Save ISSUE text.) |
||
Line 26: | Line 26: | ||
-- nts: splitting this part of to an other template would be nice ... but parm passing seems a potential headache. (maybe later) | -- nts: splitting this part of to an other template would be nice ... but parm passing seems a potential headache. (maybe later) | ||
-->{{#switch:ISSUE|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}=*<b>[[:Category:Pagenotice-ISSUE|ISSUE]]</b>: {{#if:{{{text|}}}|{{{text}}}|{{error|Missing Issue text}}}}. | -->{{#switch:ISSUE|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}=*<b>[[:Category:Pagenotice-ISSUE|ISSUE]]</b>: {{#if:{{{text|}}}|{{{text}}}{{#set:Pagenotice_remark={{{text|}}}}}|{{error|Missing Issue text}}}}. | ||
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice-ISSUE]]}} | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice-ISSUE]]}} | ||
Revision as of 17:45, 28 October 2020
- 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|ISSUE}}
"
- ISSUE: Missing Issue text.
- (other): Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- FOOD: (this "FOOD" tag needs its Text adjusted)
- SAT: World-11 Satiation data may not be accurate yet on this page. (or might be missing)
- 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|ISSUE|text=Issue description}}
"
Empty case "Foo {{Pagenotice}} Bar
" or "Foo {{Pagenotice|}} Bar
" Foo Bar
Misfit case "{{Pagenotice|misfit}}
"
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)