Difference between revisions of "Infobox Primitive"
From SI410
Line 1: | Line 1: | ||
+ | |||
+ | Copy and paste the following text into a template to make your own infobox. There is no infobox currently that uses the following templates. But they are optimized and should not crash the system unlike the older templates. A similar use of these templates can be found here: [[AltMain|'''a sample application of the ''frame'' templates''']] | ||
+ | |||
{{box|{{frame-position-right}} {{frame-margin|default=20px}} | {{box|{{frame-position-right}} {{frame-margin|default=20px}} | ||
|{{page-frame | |{{page-frame | ||
Line 41: | Line 44: | ||
}} | }} | ||
}} | }} | ||
− | |||
− | |||
<nowiki>{{page-frame | <nowiki>{{page-frame | ||
|outer-frame-size = {{frame-size|width=300px}} | |outer-frame-size = {{frame-size|width=300px}} |
Revision as of 05:55, 5 December 2012
Copy and paste the following text into a template to make your own infobox. There is no infobox currently that uses the following templates. But they are optimized and should not crash the system unlike the older templates. A similar use of these templates can be found here: a sample application of the frame templates
{{page-frame |outer-frame-size = {{frame-size|width=300px}} |outer-frame-layout = {{frame-padding|default=3px}} {{frame-border-style|style=solid}} {{frame-border-width|default=1px}} {{frame-border-radius|default=20px}} |top-frame-size = |top-frame-layout = {{frame-position-center}} |top-frame-content = |middle-frame-layout = {{frame-padding|default=3px}} {{frame-position-center}} |middle-frame-content = {{horizontal-frame-group |top-frame-height = 60px |top-frame-layout = {{frame-border-style|style=solid}} {{frame-border-width|default=1px}} {{frame-border-radius|top-right=5px|top-left=5px}} {{frame-position-center}} |middle-frame-height = 160px |middle-frame-layout = {{frame-margin|top=2px}} {{frame-border-style|style=solid}} {{frame-border-width|default=1px}} {{frame-position-center}} |bottom-frame-height = 20px |bottom-frame-layout= {{frame-margin|top=2px}} {{frame-border-style|style=solid}} {{frame-border-width|default=1px}} {{frame-position-center}} }} |bottom-frame-layout = {{frame-padding|default=3px|top=0px}} |bottom-frame-content = {{frame-box |frame-layout = {{frame-size|height=200px}} {{frame-border-style|style=solid}} {{frame-border-radius|bottom-right=15px|bottom-left=15px}} {{frame-border-width|default=1px}} {{frame-position-center}} |frame-content= }} }}