Vorlage:Box3: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<templatestyles src="Box3/styles.css" /><div class="box3 diamond" style="width:{{{width|99.5%}}}; max-width:{{{maxwidth|99.5%}}}; {{#switch:{{{align|}}}|center=margin:auto;|left=margin-left:0; margin-right:auto;|right=margin-left:auto; margin-right:0;}} border: 2px solid #56566d;border-radius: 5px;"><div id="{{{Title|}}}" class="diamond {{#switch:{{{Collapse|}}}|true=mw-collapsible mw-collapsed|alt=mw-collapsible mw-collapsed}}" style="background-color:{{{bg|#6c799a}}}; border: 2px solid {{{bg2|#1e263d}}}; border-radius: 6px; text-align:center;"> <span style="font-family:{{{Font|Roboto Slab}}}; text-shadow: 1px 1px 1px #333333; color: {{{Color|white}}}; {{#switch:{{{Style|}}}|capital=text-transform:uppercase;}}">{{#if:{{{Icon|}}}|[[File:{{{Icon|}}}|20px|link=]]}}{{#ifeq:{{{Link|}}}|true|<span class="fadeinimg" style="float: left; margin-left:5px;">[[File: |
<templatestyles src="Box3/styles.css" /><div class="box3 diamond" style="width:{{{width|99.5%}}}; max-width:{{{maxwidth|99.5%}}}; {{#switch:{{{align|}}}|center=margin:auto;|left=margin-left:0; margin-right:auto;|right=margin-left:auto; margin-right:0;}} border: 2px solid #56566d;border-radius: 5px;"><div id="{{{Title|}}}" class="diamond {{#switch:{{{Collapse|}}}|true=mw-collapsible mw-collapsed|alt=mw-collapsible mw-collapsed}}" style="background-color:{{{bg|#6c799a}}}; border: 2px solid {{{bg2|#1e263d}}}; border-radius: 6px; text-align:center;"> <span style="font-family:{{{Font|Roboto Slab}}}; text-shadow: 1px 1px 1px #333333; color: {{{Color|white}}}; {{#switch:{{{Style|}}}|capital=text-transform:uppercase;}}">{{#if:{{{Icon|}}}|[[File:{{{Icon|}}}|20px|link=]]}}{{#ifeq:{{{Link|}}}|true|<span class="fadeinimg" style="float: left; margin-left:5px;">[[File:PBSymbol.png|20px|link=#{{{Title|}}}|Link to this section]]</span>}} '''{{#if:{{{STitle|}}}|{{{STitle}}}|{{{Title}}}}}'''</span><div class="volume {{#ifeq:{{{Collapse|}}}|true|mw-collapsible-content}}" style="max-height:{{{height|}}}; {{#if:{{{boxheight|}}}|height:{{{boxheight}}};}} {{#if:{{{font|}}}|font-size:{{{font|13px}}};}} background: #fff; text-align:{{#switch:{{{Textalign|}}}|center=center|left=left|right=right|#default=center}}; padding: {{{padding|4px}}}; {{#ifeq:{{{height|}}}|auto|overflow: hidden;|overflow: auto;}}">{{#if:{{{Div|}}}|{{{Div|}}}|{{{1|}}}}}</div>{{#if:{{{Div2|}}}|<div class="volume {{#ifeq:{{{Collapse|}}}|alt|mw-collapsible-content}}" style="max-height:{{{height|}}}; {{#if:{{{boxheight|}}}|height:{{{boxheight}}};}} {{#if:{{{font|}}}|font-size:{{{font|13px}}};}} background: #fff; width:100%;">{{{Div2|}}}</div>}}</div></div><noinclude> |
||
==Usage== |
==Usage== |
||
__TOC__ |
__TOC__ |
||
Aktuelle Version vom 5. September 2023, 17:42 Uhr
{{{Title}}}
Usage
{{Box3
|Title=Greetings|Textalign=left|Link=true
|Hi
}}
For content with external links
{{Box3
|Title=Greetings|Textalign=left|Link=true|Div=
This is a [https://www.youtube.com/watch?v=0i-kFXYlUpE video].
}}

This is a video.
Different background colors
{{Box3|Collapse=true|Link=true
|Title=Farewells|bg=red|bg2=white|Color=black
|Goodbye
}}
Linking pages in header
{{Box3|bg={{Color|PB}}
|STitle=''{{White2|Phantom Blood|Hover Over Me!}}''
|Link=true
|{{Vid|MhdZF3XhtZc|325|3=center|desc=[[Jonathan Joestar]]}}
{{Vid|G0T-Hk3CL8Y|325|3=center|desc=[[Will Anthonio Zeppeli]]}}
{{Vid|s45mwF7VgX8|325|3=center|desc=[[Robert E. O. Speedwagon]]}}
}}