Template:Pagenotice: Difference between revisions
Jump to navigation
Jump to search
m (fixup - text stuff) |
m (...) |
||
Line 26: | Line 26: | ||
-- nts: splitting this part of to an other template would be nice ... but parm passing seems a potential headage. (maybe later) | -- nts: splitting this part of to an other template would be nice ... but parm passing seems a potential headage. (maybe later) | ||
-->{{#switch: | -->{{#switch:OTHER|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}=*<b>(other)</b>: Lorem ipsum dolor sit amet, consectetur adipiscing elit.}} | ||
{{#switch:FOOD|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}=*<b>FOOD</b>: (this "FOOD" tag needs its Text adjusted)[[Category:Pagenotice-FOOD]]}} | {{#switch:FOOD|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}=*<b>FOOD</b>: (this "FOOD" tag needs its Text adjusted)[[Category:Pagenotice-FOOD]]}} | ||
{{#switch: | {{#switch:SAT|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}=*<b>SAT</b>: World-11 Satiation data may not be accurate yet on this page. (''or might be missing'')[[Category:Pagenotice-SAT]]}} | ||
<span style="color:gray">To disable a particular message, <i>after verification of the related data</i>, remove its TAG from the "Pagenotice" call.</span>{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice]]}} | <span style="color:gray">To disable a particular message, <i>after verification of the related data</i>, remove its TAG from the "Pagenotice" call.</span>{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--nop-->|[[Category:Pagenotice]]}} | ||
<!-- | <!-- | ||
Line 55: | Line 55: | ||
-- can't just check if first ano-parm is blank, other might not be. | -- can't just check if first ano-parm is blank, other might not be. | ||
- minor: debug/preview TAG cases also included in Pagenotice-TAG categories. (leaving it as such for the moment) | - minor: debug/preview TAG cases also included in Pagenotice-TAG categories. (leaving it as such for the moment) | ||
- odd issue: first tag-case in code, if its the only used tag, triggers an additional blank line before the "disable" text part. (?:later) | |||
--> | --> | ||
Line 63: | Line 64: | ||
fo1 {{ {{PAGENAME}} | fo1 {{ {{PAGENAME}} | ||
| | | SAT | ||
}} bar | |||
fo1 {{ {{PAGENAME}} | |||
| OTHER | |||
}} bar | }} bar | ||
Revision as of 20:07, 1 February 2019
- DEBUG PREVIEW
FOO BAR
fo1
Page Notices:
- SAT: World-11 Satiation data may not be accurate yet on this page. (or might be missing)
To disable a particular message, after verification of the related data, remove its TAG from the "Pagenotice" call.
bar fo1
Page Notices:
- (other): Lorem ipsum dolor sit amet, consectetur adipiscing elit.
To disable a particular message, after verification of the related data, remove its TAG from the "Pagenotice" call.
bar fo2
Page Notices:
- (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)
To disable a particular message, after verification of the related data, remove its TAG from the "Pagenotice" call.
bar
-->