Meta:Guidelines: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 161: Line 161:
The workaround:
The workaround:
# Generate a badge at https://shields.io
# Generate a badge at https://shields.io
# Create a new CSS rule in [[MediaWiki:Common.css]] (see examples at bottom)
# Create a new CSS rule in [[MediaWiki:Common.css]] (see examples below)
# On the page you want to edit, add a custom span with class="shield" and the id as named in the CSS, e.g.: <code><nowiki><span class="shield" id="shield-python310")></span></nowiki></code>
# On the page you want to edit, add a custom span with class="shield" and the id as named in the CSS, e.g.: <code><nowiki><span class="shield" id="shield-python310")></span></nowiki></code>
# Add to the list of shields below.
# Add to the list of shields below.