Difference between revisions of "Template:Pspan"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m (Protected "Template:Pspan": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Takes a single parameter and turns it into fancy parameter short-description text.</noinclude>
+
<includeonly><span style="font-weight: bold; font-style: italic; padding-left: .2em; padding-right: .2em; color: #006400; background: #fff8dc;">{{{1}}}</span></includeonly><noinclude><p>Takes a single parameter and turns it into fancy parameter short-description text.</p>
[[Category:Basic Templates]]
+
<p>Example:</p>
<includeonly><span style="padding-left: .2em; padding-right: .2em; color: #006400; background: #fff8dc;"><b><i>{{{1}}}</i></b></span></includeonly>
+
<pre>{{Pspan|message}}</pre>
 +
<p>Produces: {{Pspan|message}}</p>
 +
[[Category:Basic Templates]]</noinclude>

Latest revision as of 06:22, 14 March 2010

Takes a single parameter and turns it into fancy parameter short-description text.

Example:

{{Pspan|message}}

Produces: message