Osobiste
User menu

Szablon:Box start

Z Ancestris

(Różnice między wersjami)
(Utworzył nową stronę „<includeonly></td></tr></table></div></includeonly><noinclude> This template is used in conjunction with the {{m|Box_start}} template, to close it. It's mandatory to...”)
 
 
Linia 1: Linia 1:
<includeonly></td></tr></table></div></includeonly><noinclude>
+
<includeonly><div style="clear: both;<!--
This template is used in conjunction with the {{m|Box_start}} template, to close it. It's mandatory to use both.
+
        -->margin: {{{marges|1em 0 0.5em 0}}};<!--
 +
        -->border-width: 1px;<!--
 +
        -->border-style: solid;<!--
 +
        -->border-color: {{{box_color|#aaaaaa}}};<!--
 +
        -->background-color: {{{background_color|#ffffda}}};<!--
 +
        -->text-align: justify;<!--
 +
        -->padding-right: 4px;<!--
 +
        -->padding-left: 4px;<!--
 +
        -->padding-top: 2px;<!--
 +
        -->padding-bottom: 2px;<!--
 +
        -->font-style: {{{font_decoration|italic}}};<!--
 +
        -->color: {{{text_color|#000000}}};<!--
 +
        -->line-height: 1.25">
 +
<table width="100%" rules="none" border="0" cellspacing="0" cellpadding="4" style="background: transparent; {{{ext style|}}}">
 +
<tr><td style="padding-right:4px"></includeonly><noinclude>
 +
 
 +
;Where to use that template
 +
 
 +
This template is used to present the FAQ available in that wiki. This template must be used in conjonction with the {{m|Box_end}} template, to close it.
 +
 
 +
;Syntaxe
 +
{{Box_start}}
 +
<nowiki>
 +
{{Box_start
 +
|background_color = xxxxx
 +
|box_color = yyyyy
 +
|text_color = zzzzz
 +
|font_decoration = italic or normal (default is italic)
 +
}}
 +
</nowiki>
 +
{{Box_end}}
 +
 
 +
;Parameters
 +
* background_color : background color (optional, default is <code>#ffffda</code>)
 +
* box_color : color of the box (optional, default is  <code>#aaaaaa</code>)
 +
* text_color : text color (optional, default is  <code>#000000</code>)
 +
* font_decoration : font style property. (Optional, default is <code>italic</code>, but this parameter can be <code>normal</code>)
 +
 
  
 
;'''Example'''
 
;'''Example'''
''<nowiki>{{Box_start|background_color = #bfffbf|box_color = #ff0000|text_color = #ff0000}}</nowiki>''<br />
+
 
 +
''<nowiki>{{Box_start|background_color = #bfffbf|box_color = #ff0000|text_color = #ff0000|font_decoration = normal}}</nowiki>''<br />
 
''This text must be in the box.''<br />
 
''This text must be in the box.''<br />
''Another text.''<br />
+
''Another text. Font decoration is normal, not italic''<br />
 
''One more line.''<br />
 
''One more line.''<br />
 
''<nowiki>{{Box_end}}</nowiki>''
 
''<nowiki>{{Box_end}}</nowiki>''
Linia 11: Linia 49:
 
Gives :
 
Gives :
  
{{Box_start|background_color = #bfffbf|box_color = #ff0000|text_color = #ff0000}}
+
{{Box_start|background_color = #bfffbf|box_color = #ff0000|text_color = #ff0000|font_decoration = normal}}
This text must be in the box.
+
This text must be in the box.<br />
Another text.
+
Another text. Font decoration is normal, not italic<br />
One more line.
+
One more line.<br />
 
{{Box_end}}
 
{{Box_end}}
 +
 +
 +
;Main colors
 +
 +
The [http://html-color-codes.info/ main colors] available.
 +
  
 
[[Kategoria:Szablony Ancestris]]
 
[[Kategoria:Szablony Ancestris]]
 
</noinclude>
 
</noinclude>

Aktualna wersja na dzień 21:24, 14 kwi 2016


Where to use that template

This template is used to present the FAQ available in that wiki. This template must be used in conjonction with the {{Box_end}} template, to close it.

Syntaxe

{{Box_start |background_color = xxxxx |box_color = yyyyy |text_color = zzzzz |font_decoration = italic or normal (default is italic) }}

Parameters
  • background_color : background color (optional, default is #ffffda)
  • box_color : color of the box (optional, default is #aaaaaa)
  • text_color : text color (optional, default is #000000)
  • font_decoration : font style property. (Optional, default is italic, but this parameter can be normal)


Example

{{Box_start|background_color = #bfffbf|box_color = #ff0000|text_color = #ff0000|font_decoration = normal}}
This text must be in the box.
Another text. Font decoration is normal, not italic
One more line.
{{Box_end}}

Gives :

This text must be in the box.
Another text. Font decoration is normal, not italic
One more line.


Main colors

The main colors available.

  • Tę stronę ostatnio zmodyfikowano 21:24, 14 kwi 2016.
  • Tę stronę obejrzano 376 razy.