Difference between revisions of "Template:Pspan"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '<noinclude>Takes a single parameter and turns it into fancy parameter short-description text.</noinclude> Category:Basic Templates <includeonly> <span style="padding-left: .2…')
 
imported>StDoodle
m (Protected "Template:Pspan": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(5 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>
+
<pre>{{Pspan|message}}</pre>
<span style="padding-left: .2em; padding-right: .2em; color: #006400; background: #fff8dc;">'''''{{{1}}}'''''</span>
+
<p>Produces: {{Pspan|message}}</p>
</includeonly>
+
[[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