Template:Inline block: Difference between revisions

From Pardee Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><{{{2|span}}} {{#if:{{{title|}}} |title="{{{title}}}" }} style=" {{#if:{{{width|}}} |width:{{{width}}}; }} {{#if:{{{height|}}} |height:{{{height}}}; }} {{#if:{{{color|}}} |color:{{{color}}}; }} {{#if:{{{background|{{{bg|}}}}}}|background:{{{background|{{{bg}}}}}};}} <!-- Allows gradients etc. too, as well as block colour. --> {{#if:{{{style...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly><{{{2|span}}}
<includeonly><{{{2|span}}}
{{#if:{{{title|}}}              |title="{{{title}}}"                  }}
style="
style="
{{#if:{{{width|}}}              |width:{{{width}}};                  }}
{{#if:{{{height|}}}            |height:{{{height}}};                }}
{{#if:{{{color|}}}              |color:{{{color}}};                  }}
{{#if:{{{color|}}}              |color:{{{color}}};                  }}
{{#if:{{{background|{{{bg|}}}}}}|background:{{{background|{{{bg}}}}}};}} <!-- Allows gradients etc. too, as well as block colour. -->
{{#if:{{{style|}}}              |{{{style}}};                        }}
{{#if:{{{style|}}}              |{{{style}}};                        }}
display:inline-block
display:inline-block
">{{{1|}}}</{{{2|span}}}></includeonly><noinclude>
">{{{1|}}}</{{{2|span}}}></includeonly>
{{Documentation}}</noinclude>

Latest revision as of 03:12, 15 January 2023