Difference between revisions of "Template:Space/doc"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
Line 1: | Line 1: | ||
{{documentation subpage|override=space/doc|Space}} | {{documentation subpage|override=space/doc|Space}} | ||
− | Forces a <code>space</code> character using | + | Forces a <code>space</code> character using [[HTML Entities|HTML replacement]]. Useful for minor text adjustments and aligning if adding a normal space-character( ) doesn't seem to work. |
'''Example:''' | '''Example:''' | ||
− | {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup> | + | {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>{{space}}Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> |
looks better than {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> | looks better than {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> | ||
− | <pre | + | <pre> |
− | {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup> | + | {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>{{space}}Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> |
looks better than {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> | looks better than {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> | ||
</pre> | </pre> |
Revision as of 07:13, 9 June 2024
This is a documentation subpage for Space. It contains usage information, categories and other content that is not part of the original template page. |
Forces a space
character using HTML replacement. Useful for minor text adjustments and aligning if adding a normal space-character( ) doesn't seem to work.
Example:
HelpCenter
looks better than HelpCenter
{{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>{{space}}Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> looks better than {{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div>