Difference between revisions of "Template:Custom popup"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Crystaltears83
(Created page with "<noinclude> ==USAGE== <pre> {{custom popup | static = | width = | bgcolor = | color = | align = | dynamic = }} </pre> ==Examples== <pre>{{custom popup | static = Test S...")
 
imported>Crystaltears83
(Replaced content with "Did not work as intended, delete please :P")
 
Line 1: Line 1:
<noinclude>
+
Did not work as intended, delete please :P
==USAGE==
 
<pre>
 
{{custom popup
 
| static =
 
| width =
 
| bgcolor =
 
| color =
 
| align =
 
| dynamic =
 
}}
 
</pre>
 
 
 
==Examples==
 
<pre>{{custom popup
 
| static = Test Static
 
| width = 50
 
| bgcolor = cyan
 
| color = red
 
| align = right
 
| dynamic = Test Dynamic
 
}}</pre>
 
* {{custom popup
 
| static = Test Static
 
| width = 50
 
| bgcolor = cyan
 
| color = red
 
| align = right
 
}}
 
 
 
<pre>{{custom popup
 
| static = Test Static 2
 
| width = 200
 
| dynamic = Test Dynamic 2
 
}}</pre>
 
* {{custom popup
 
| static = Test Static 2
 
| width = 200
 
}}
 
 
 
<pre>{{custom popup
 
| bgcolor = silver
 
| color = gold
 
}}</pre>
 
* {{custom popup
 
| bgcolor = silver
 
| color = gold
 
}}
 
 
 
==See Also==
 
* [[Template:popup]]
 
* [[Template:Short_popup]]
 
* [[Template:long_popup]]
 
 
 
==Coding==</noinclude>
 
<onlyinclude><span class="has_tooltip">{{{static|Template Error!}}}<span class="tooltip" style="z-index: 5; width: {{#ifexpr:{{#expr:{{{width|{{#expr:{{#len:{{{dynamic|Template Error!}}}}}*3}}/3}}}}}>80|{{#expr:ceil{{{width|{{#expr:{{#len:{{{dynamic}}}}}*3}}}}}/{{#expr:ceil({{{width|{{#expr:{{#len:{{{dynamic}}}}}*3}}}}}/240)}}}}|{{{width|{{#expr:{{#len:{{{dynamic|Template Error!}}}}}*3}}}}}}}px; padding: 5px; color: {{{color|#000000}}}; background-color: {{{bgcolor|#FFFFFF}}}; border: 1px solid #DDDDDD; text-align: {{{align|center}}};">{{{dynamic|Template Error!}}}</span></span></onlyinclude>
 

Latest revision as of 11:39, 21 October 2013

Did not work as intended, delete please :P