gplx/scripts/templates/Editnotice_Advertisement.wiki

21 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div style="background:#f0f4f8; border:1px solid #c8ccd1; border-left:4px solid #3366cc; padding:0.75em 1em; margin-bottom:1em; border-radius:0 4px 4px 0; font-size:0.9em;">
'''Advertisement editing notes'''
The content of this page is displayed below the toolbox in the left sidebar. Standard wikitext and links are supported.
; Disable the ad slot
: Enter only a hyphen (<code>-</code>) or leave the page blank.
; Adding an image
: 1. Upload the image via [[Special:Upload]].
: 2. Insert it with:
:: <code><nowiki>[[File:Filename.jpg|center|link=https://example.com|alt=Short description]]</nowiki></code>
: The <code>link=</code> parameter makes the image clickable. <code>alt=</code> is required for accessibility (WCAG).
; Recommended image dimensions
: The sidebar is approximately '''200 px''' wide. Recommended image width: '''180200 px''' (or 360400 px for HiDPI displays). Wider images are scaled down automatically to fit — there is no hard pixel limit. Keep the height below 150 px; landscape or square formats work best in the sidebar.
; Caption
: An optional short caption appears below the image in grey text. Add it as a plain paragraph after the image syntax.
</div>