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...")
 
No edit summary
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:Templates]]</noinclude>

Revision as of 09:50, 5 September 2018

{{{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.