Difference between revisions of "Template:Upperscript"

From Dwaia Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><span style="position:relative;width:fit-content;">{{{bottom_text|bottom text}}}<span style="position:absolute;top:50%;left:50%;transform:translate(-50%,-100%);">{{{top_text|top}}}</span></span></includeonly><noinclude>
+
<includeonly><span style="position:relative;width:fit-content;">{{{bottom_text|bottom text}}}<span style="position:absolute;top:-100%;left:0%;transform:translate({{{x|0}}}%,{{{y|0}}}%);">{{{top_text|top}}}</span></span></includeonly><noinclude>
 
Example:
 
Example:
 
<pre>
 
<pre>

Revision as of 00:02, 17 April 2019

Example:

Can I get a {{Upperscript|bottom_text = boy|top_text = ass}} please?

produces:

Can I get a boyass please?