Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Space/doc"

From Roll20 Wiki

Jump to: navigation, search
m
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 html replacement. Useful for minor text adjustments and aligning if adding a normal space-character( ) doesn't seem to work.
+
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>&nbsp;Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div>
+
{{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 style="overflow:auto;">
+
<pre>
{{logo}}<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup>&nbsp;Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div>
+
{{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

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:

Roll20-logo.png
 HelpCenter
looks better than Roll20-logo.png
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>