User:Hamilnes/Temlates View history

(→‎M-Box: link)
Line 1: Line 1:
==M-Box==
==M-Box==
{{mbox|text=Poznáka, upozornenie, informácia k textu/stránke.}}
{{mbox|text=Poznáka, upozornenie, informácia k textu/stránke.}}
<pre>
{{mbox | text = Some text.}}
</pre>
Parametre:
<pre>
{{mbox
| type      = style
| small      = left
| image      = [[File:Emblem-question-yellow.png|40px|alt=Question mark]]
| smallimage = [[File:Emblem-question-yellow.png|20px|alt=Question mark]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text      = Text for a big box, for the top of articles.
| smalltext  = Text for the top of article sections.
}}
</pre>
Druhy boxov:
{{mbox
| type  = critical
| text  = type=<u>critical</u> – Urgent warnings.
}}
{{mbox
| type  = warning
| text  = type=<u>warning</u> – Serious warnings.
}}
{{mbox
| type  = important
| text  = type=<u>important</u> – Important points.
}}
{{mbox
| type  = caution
| text  = type=<u>caution</u> – Points of concern, but not so serious.
}}
{{mbox
| type  = speculation
| text  = type=<u>speculation</u> – Speculative information.
}}
{{mbox
| type  = cleanup
| text  = type=<u>cleanup</u> – Changes are required.
}}
{{mbox
| type  = construction
| text  = type=<u>construction</u> – Construction notices.
}}
{{mbox
| type  = neweditor
| text  = type=<u>neweditor</u> – New editor notices.
}}
{{mbox
| type  = mail
| text  = type=<u>mail</u> – Email related messages.
}}
{{mbox
| type  = forum
| text  = type=<u>forum</u> – Forum related messages.
}}
{{mbox
| type  = notice
| text  = type=<u>notice</u> – Points of information.
}}
{{mbox
| type  =
| text  = type=<u>(blank)</u> – Default; general 'box'.
}}
{{mbox
| type  = move
| text  = type=<u>move</u> – Merge, split and transwiki proposals.
}}
{{mbox
| type  = protection
| text  = type=<u>protection</u> – Protection notices.
}}
{{mbox
| type  = license
| text  = type=<u>license</u> – License notices.
}}
Viac na stránke [[Template:Mbox]].
Viac na stránke [[Template:Mbox]].



Revision as of 20:42, 14 July 2015

M-Box

Poznáka, upozornenie, informácia k textu/stránke.
{{mbox | text = Some text.}}

Parametre:

{{mbox
| type       = style
| small      = left
| image      = [[File:Emblem-question-yellow.png|40px|alt=Question mark]]
| smallimage = [[File:Emblem-question-yellow.png|20px|alt=Question mark]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
| smalltext  = Text for the top of article sections.
}}

Druhy boxov:

type=critical – Urgent warnings.
type=warning – Serious warnings.
type=important – Important points.
type=caution – Points of concern, but not so serious.
type=speculation – Speculative information.
type=cleanup – Changes are required.
type=construction – Construction notices.
type=neweditor – New editor notices.
type=mail – Email related messages.
type=forum – Forum related messages.
type=notice – Points of information.
type=(blank) – Default; general 'box'.
type=move – Merge, split and transwiki proposals.
type=protection – Protection notices.
type=license – License notices.

Viac na stránke Template:Mbox.

YouTube

To embed a youtube video like the one you see, use the following widget code:

{{#Widget:YouTube|id=QFv7AFRmmTs|width=500}}

Parameters

The following parameters are supported by this widget.

|id= video id (from the URL)

|playlist= playlist name (starts with PL) - first clip is played (id is ignored)

|height= and |width= define view dimensions, 420x350 is default
the maximum size for the Waze wiki pages is |width=720

Colapsible Sections

Kapitola

text...text