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 | + | Copy and paste the following text into a template and then modify as needed to make your own infobox. There are no infobox currently that use the following templates, but these templates unlike the earlier templates are optimized and should not crash the system. A similar use of these templates can be found here: [[AltMain|'''a sample application of the ''frame'' templates''']] The example might give you an idea as to proceed. |
{{box|{{frame-position-right}} {{frame-margin|default=20px}} | {{box|{{frame-position-right}} {{frame-margin|default=20px}} |
Revision as of 05:58, 5 December 2012
Copy and paste the following text into a template and then modify as needed to make your own infobox. There are no infobox currently that use the following templates, but these templates unlike the earlier templates are optimized and should not crash the system. A similar use of these templates can be found here: a sample application of the frame templates The example might give you an idea as to proceed.
{{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= }} }}