Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Created with/layout/doc: Difference between revisions

Template page
m +cat
m +explanation
Line 1: Line 1:
&nbsp;&#32;< Template: {{T0|Created with/layout}}{{Heavily used template}}
&nbsp;&#32;< Template: {{T0|Created with/layout}}{{Heavily used template|3=+}}
{{TemplateBox
{{TemplateBox
   |1      =logo
   |1      =logo
Line 63: Line 63:


== Style attributes ==
== Style attributes ==
Besides the variations with <code>logo</code> and <code>text</code>, a great variety can be get with <code>background</code> and <code>border</code> colors:
Besides the variations with <code>logo</code> and <code>text</code>, a great variety can be get with <code>background</code> colors and mainly with the <code>border</code> styles:
* padding
* margin and padding are to alter with care - it is recommended to ''not modify'' them. The four parameters are for top, right, bottom, left.
* background
:* <code>margin</code> (0px) the distance to surrounding items
* border
:* <code>padding</code> (2px 4px 2px 6px) distance to items witthin the box; the first and third parameter can alter the height of the box!
* <code>color</code> (#000) the color of the text
* <code>background</code> (#F8F9FA) very light grey, for good readability of the black text
* <code>border</code> (1px solid #BAB) the stroke-width, stroke-style, stroke-color; it is recommended to modify only that parameter.


<includeonly>
<includeonly>

Revision as of 10:38, 25 September 2020

  < Template: Created with/layout

Small box used by several templates:

Usage

{{Created with/layout |logo= |text= }}

Template parameters

ParameterDescriptionDefaultStatus
logofilenameicon/logo to be displayedemptysuggested
iconsizesizesize for displaying the icon/logo33x22pxoptional
texttextindividual main text'empty'suggested
moretextmore text (additional)emptyoptional
styleparametersCSS style attributes, to overwrite the standard attributesemptyoptional
langlangcodeISO 639 language code{{int:lang}}optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement:

In general within the file description – but can be elsewhere

Localization

This template is not intended to be localized. Normally it is the final output, after all translations done by the previous templates.

Style attributes

Besides the variations with logo and text, a great variety can be get with background colors and mainly with the border styles:

  • margin and padding are to alter with care - it is recommended to not modify them. The four parameters are for top, right, bottom, left.
  • margin (0px) the distance to surrounding items
  • padding (2px 4px 2px 6px) distance to items witthin the box; the first and third parameter can alter the height of the box!
  • color (#000) the color of the text
  • background (#F8F9FA) very light grey, for good readability of the black text
  • border (1px solid #BAB) the stroke-width, stroke-style, stroke-color; it is recommended to modify only that parameter.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.