Es gibt z.Z. Probleme mit einem Update, es ist nur Lesen möglich.
Currently there are issues with the installation, readonly possible for now.

Difference between revisions of "Template:Box"

From Jigsaw-Wiki
Jump to: navigation, search
m (Text replacement - "Category:Vorlagen" to "Category:Templates")
(changed, not ready)
Line 17: Line 17:
 
ergibt
 
ergibt
 
{{Box|TITLE=Test|TEXT=Dies ist der Text}}
 
{{Box|TITLE=Test|TEXT=Dies ist der Text}}
[[Category:Templates]]</noinclude><includeonly>{{#ifeq:{{{HIDE}}}|true|<div class="NavFrame">
+
[[Category:Templates]]</noinclude><includeonly>{{#ifeq:{{{HIDE}}}|true|<div align="center" class="toccolours mw-collapsible mw-collapsed" style="background-color:Gainsboro; margin-bottom:0.1em; border-radius:6px; font-size:120%;">'''{{{TITLE}}}'''<div class="mw-collapsible-content" align="left" style="background-color:White; margin-bottom:0.0em; border-radius:6px; font-size:80%;">{{{TEXT}}}</div></div>
<div class="NavHead NavToggle" style="background-color:Gainsboro; margin-bottom:0.1em; border-radius:6px; font-size:120%;">{{{TITLE}}}</div>
 
<div class="NavContent" style="text-align: left; padding:0.2em 0.5em 0.2em 0.5em; display:none;">{{{TEXT}}}
 
</div></div>
 
 
|
 
|
 
<div align="center" style="background-color:Gainsboro; margin-bottom:0.1em; border-radius:6px; font-size:120%;font-weight:bold;">{{{TITLE}}}</div><div style="margin-bottom:0.5em; padding:0.2em 0.5em 0.2em 0.5em; border:1px solid #AAAAAA; border-top:0px solid #FFFFFF;font-size:100%;">{{{TEXT}}}</div>
 
<div align="center" style="background-color:Gainsboro; margin-bottom:0.1em; border-radius:6px; font-size:120%;font-weight:bold;">{{{TITLE}}}</div><div style="margin-bottom:0.5em; padding:0.2em 0.5em 0.2em 0.5em; border:1px solid #AAAAAA; border-top:0px solid #FFFFFF;font-size:100%;">{{{TEXT}}}</div>
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:00, 19 November 2018

Vorlage Box:

Anzeige von Text mit zentrierter Überschrift in einer separaten Box, wahlweise ausblendbar.

Text ausgeblendet

{{Box|HIDE=true|TITLE=Test|TEXT=Dies ist der Text}}

ergibt

Test
Dies ist der Text

Text immer sichtbar

{{Box|TITLE=Test|TEXT=Dies ist der Text}}

ergibt

Test
Dies ist der Text