Template:Wikiframe: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Created page with "<div class="box" style=" width: {{{3|100%}}}; height: {{{4}}}; float: {{{5}}}; overflow: hidden; margin-bottom: {{#if:{{{8|}}}|0|20px}}; display: inline-block; border: 1px sol...")
 
m (Changed Category to formatting templates. (I'm doing this so we have a better view of all the Templates created))
 
(3 intermediate revisions by one other user not shown)
Line 33: Line 33:
-->{{{2}}}
-->{{{2}}}
</div></div>
</div></div>
<noinclude>{{/doc}}[[Category:Templates]]</noinclude>
<noinclude>A template that creates a stylized box around content.
 
==Syntax==
This template can take between six and seven parameters.
 
* <nowiki>{{wikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>}}</nowiki>
 
* <nowiki>{{wikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>|<title link>}}</nowiki>
 
The sixth parameter "bottom margin" defaults to 10px.
 
The seventh parameter "title link" is optional. If used, the wikiframe title will become a link with the parameter as its destination.
[[Category:Formatting templates]]</noinclude>

Latest revision as of 16:45, 11 April 2019

{{{1}}}
{{{2}}}

A template that creates a stylized box around content.

Syntax

This template can take between six and seven parameters.

  • {{wikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>}}
  • {{wikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>|<title link>}}

The sixth parameter "bottom margin" defaults to 10px.

The seventh parameter "title link" is optional. If used, the wikiframe title will become a link with the parameter as its destination.