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
(Created page with "{{documentation subpage|override=space/doc|Space}} Forces a <code>space</code> character using html replacement. Useful for minor text adustments and aligning if adding a nor...")
 
m
 
(5 intermediate revisions 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 adustments and aligning if adding a normal space-cahracter( ) 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
+
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>  
{{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;">
 
{{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>
 
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>{{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>
 +
</pre>
 +
<includeonly>
 +
[[Category:Character-substitution templates]]
 +
[[Category:Inline spacing templates]]
 +
[[Category:Formatting Templates]]
 +
</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>