×
Create a new article
Write your page title here:
We currently have 10 articles on Novine Universe Wiki. Type your article name above or click on one of the titles below and start writing!



Novine Universe Wiki

Template:Box: Difference between revisions

Created page with "<noinclude>{{pp-protected|small=yes}}</noinclude> {| style="background:{{{background|{{{bg|#FFFFFF}}}}}}; border:1px solid {{{border|#000000}}}; border-top:8px solid {{{border_head|{{{head_bg|{{{border|#000000}}}}}}}}}; color:{{{color|#000}}}; width:100%; max-width:{{{width|618}}}px; margin:0 auto 16px;" |- style="vertical-align:top;" | style="padding:5px;" | {{#if:{{{img_border|}}}|<div style="border:{{{img_border|}}}">}}File:{{{image|Placeholder.png}}}|{{{img_width|9..."
 
m made it more bareable, also i stole this from the worse less based wiki ahahahaha
Line 2: Line 2:
{| style="background:{{{background|{{{bg|#FFFFFF}}}}}}; border:1px solid {{{border|#000000}}}; border-top:8px solid {{{border_head|{{{head_bg|{{{border|#000000}}}}}}}}}; color:{{{color|#000}}}; width:100%; max-width:{{{width|618}}}px; margin:0 auto 16px;"
{| style="background:{{{background|{{{bg|#FFFFFF}}}}}}; border:1px solid {{{border|#000000}}}; border-top:8px solid {{{border_head|{{{head_bg|{{{border|#000000}}}}}}}}}; color:{{{color|#000}}}; width:100%; max-width:{{{width|618}}}px; margin:0 auto 16px;"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| style="padding:5px;" | {{#if:{{{img_border|}}}|<div style="border:{{{img_border|}}}">}}[[File:{{{image|Placeholder.png}}}|{{{img_width|90}}}px]]{{#if:{{{img_border|}}}|</div>}}
| style="padding:5px;" | {{{{{img_border|}}}|<div style="border:{{{img_border|}}}">}}[[File:{{{image|Placeholder.png}}}|{{{img_width|90}}}px]]{{{{img_border|}}}|</div>}}
| style="padding:0 5px 0 1px; width:100%;" |<div style="font-size:1.25em; margin:0">'''{{{title|This is a title.}}}'''</div>
| style="padding:0 5px 0 1px; width:100%;" |<div style="font-size:1.25em; margin:0">'''{{{title|This is a title.}}}'''</div>
----
----

Revision as of 01:33, 11 November 2024

Template:Pp-protected

{{|
}}{|
}}
This is a title.

This is where information goes.

This template is a metatemplate used to create various box templates. The format for using this template is as follows:

{{Box}} Displays:


{{|
}}{|
}}
This is a title.

This is where information goes.

Default Parameters

  • title - The box title. Default: "I am a box"
  • text - The box text. Default: "I cram key points into a nutshell."
  • image - The image on the left of the box. Default: "delayclose.jpg"
    • img_border - CSS rule for the border around the image. Default: no border
    • img_width - The image's desired width in pixels. Default: 90 pixels
  • border - Colour for the box border. Default: "#B6A3BF"
    • border_top (formerly head_bg) - Colour of the box head. Default: Same as border
  • background (formerly bg) - Background colour of the box. Default: "#FCF5FF"
  • width - Width of the box. Default: 618 pixels
  • color - Text color for the box text. Default: black

Note that you can use sRGB (rgb(255, 0, 0)), Hex triplet (#FF0000), or the name of the color (red) when entering colors in the template.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
backgroundbackground

no description

Unknownoptional
bgbg

no description

Unknownoptional
borderborder

no description

Unknownoptional
border_headborder_head

no description

Unknownoptional
head_bghead_bg

no description

Unknownoptional
colorcolor

no description

Unknownoptional
widthwidth

no description

Unknownoptional
img_borderimg_border

no description

Unknownoptional
imageimage

no description

Fileoptional
img_widthimg_width

no description

Unknownoptional
titletitle

no description

Unknownoptional
texttext

no description

Unknownoptional