Template:Side note: Difference between revisions

From Shifti
Jump to navigation Jump to search
No edit summary
m attempt to fix use-case problems
Line 1: Line 1:
{{float tag|text={{{1|No side note text defined}}}|text-background = #dddddd}}<noinclude>
{{#ifeq:{{{1| }}} | | {{#vardefine: text|{{{1}}}}}|{{#vardefine: text|No side note text defined}}}}{{float tag|text={{{text}}}|text-background = #dddddd}}<noinclude>


This is a very simple template intended to put an arbitrary bit of text in a floating box off to the side of the story. It takes an unnamed parameter, like so:
This is a very simple template intended to put an arbitrary bit of text in a floating box off to the side of the story. It takes an unnamed parameter, like so:

Revision as of 02:04, 9 October 2007

{{#ifeq: | | |}}

{{#if:|}}
[[Image:{{{icon}}}|30px|center|Icon]] {{{text}}}

This is a very simple template intended to put an arbitrary bit of text in a floating box off to the side of the story. It takes an unnamed parameter, like so:

{{side note|insert text to display here}}