Difference between revisions of "Template:Space/doc"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
(One intermediate revision by one user not shown) | |||
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> | ||
Line 16: | Line 16: | ||
[[Category:Character-substitution templates]] | [[Category:Character-substitution templates]] | ||
[[Category:Inline spacing templates]] | [[Category:Inline spacing templates]] | ||
+ | [[Category:Formatting Templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 07:48, 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>