Template:AddPxUnit/doc: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

10 June 2025

  • curprev 14:1114:11, 10 June 2025 Wuffesan talk contribs 743 bytes +743 Created page with "{{Documentation/Header}} Adds the <code>px</code> unit to a numeric value if it does not already have a unit. If it already has a unit, then that unit is kept. ==Syntax== * '''1:''' numeric value with or without units ==Examples== <pre>{{AddPxUnit|50}}</pre> {{AddPxUnit|50}} <pre>{{AddPxUnit|50px}}</pre> {{AddPxUnit|50px}} <pre>{{AddPxUnit|2em}}</pre> {{AddPxUnit|2em}} <pre>{{AddPxUnit|inherit}}</pre> {{AddPxUnit|inherit}} <pre>{{AddPxUnit|initial}}</pre> {{AddPxUn..."