MediaWiki:Sitenotice: Difference between revisions

From GDPRhub
(Add explanation for how to put a random banner above every page)
 
m (Fewer line breaks, to avoid <p> tags in the output)
Line 14: Line 14:
- Better not list dozens of images here, as *all* image options will be downloaded by the browser (not only the one that is picked).
- Better not list dozens of images here, as *all* image options will be downloaded by the browser (not only the one that is picked).
- The code is just wikitext; so be aware that whitespace can matter (e.g. don’t start a line with spaces)
- The code is just wikitext; so be aware that whitespace can matter (e.g. don’t start a line with spaces)
- AVOID LINE BREAKS, or verify that they do not introduce <p> tags in the html, because those mess up our Integromat scripts!


EXAMPLE CODE:
EXAMPLE CODE:
<div class="random-banner-container">
<div class="random-banner-container">
 
<div class="random-banner-option" style="background-color: silver;">[[File:3yrsgdpr.jpg|link=https://noyb.eu/en/statement-3rd-anniversary-gdpr]]</div>
<div class="random-banner-option" style="background-color: silver;">
<div class="random-banner-option" style="background-color: black;">[[File:Pug flags.png|link=https://noyb.eu/en/luxemburgs-watchdog-refuses-show-its-teeth-us-companies]]</div>
[[File:3yrsgdpr.jpg|link=https://noyb.eu/en/statement-3rd-anniversary-gdpr]]
</div>
 
<div class="random-banner-option" style="background-color: black;">
[[File:Pug flags.png|link=https://noyb.eu/en/luxemburgs-watchdog-refuses-show-its-teeth-us-companies]]
</div>
 
</div>
</div>


ACTUAL CODE BELOW
ACTUAL CODE BELOW
-->
-->

Revision as of 13:38, 3 September 2021