Modèle:Hidden : Différence entre versions

De EncyclopAtys

Ligne 1 : Ligne 1 :
{|border=1" cellspacing=0" cellpadding="2" class="mw-collapsible {{{state|mw-collapsed}}}" style="width:100%;margin:0;padding:0;border:1px solid #999999;border-collapse:collapse;background:#FFFFFF"
+
{|cellspacing="0" cellpadding="2" class="mw-collapsible {{{state|mw-collapsed}}}" style="width:100%;margin:0;padding:0;border:thick outset #{{ColorAtys}};border-collapse:collapse;background:#FFF"
 
|-
 
|-
!<div sxtyle="font-weight:{{{fw1|bold}}};background-color:{{{bg1|#CCC}}};text-align:{{{ta1|center}}};{{{headercss|}}}">{{{header|{{{1}}}}}}&nbsp;</div>
+
!<div style="font-weight:{{{fw1|bold}}};background-color:{{{bg1|#{{ColorAtys|type=bg}}}}};text-align:{{{ta1|center}}};{{{headercss|}}}">{{{header|{{{1}}}}}}&nbsp;</div>
 
|-
 
|-
 
|style="font-weight:{{{fw2|normal}}};background-color:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{contentcss|}}}"|
 
|style="font-weight:{{{fw2|normal}}};background-color:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{contentcss|}}}"|
Ligne 10 : Ligne 10 :
 
* "description": "This hides",
 
* "description": "This hides",
 
* "params": {
 
* "params": {
** "1": {},
+
** "1": {Title},
** "2": {},
+
** "2": {Content},
** "state": {},
+
** "state": {default: mw-collapsed},
** "fw1": {},
+
** "fw1": {font weight for title},
** "bg1": {},
+
** "bg1": {bg for title},
** "ta1": {},
+
** "ta1": {text align},
 
** "headercss": {},
 
** "headercss": {},
 
** "header": {},
 
** "header": {},

Version du 27 juin 2018 à 15:31

{{{1}}} 

{{{2}}}

Content that should not be hidden. <templatedata>

  • "description": "This hides",
  • "params": {
    • "1": {Title},
    • "2": {Content},
    • "state": {default: mw-collapsed},
    • "fw1": {font weight for title},
    • "bg1": {bg for title},
    • "ta1": {text align},
    • "headercss": {},
    • "header": {},
    • "fw2": {},
    • "bg2": {},
    • "ta2": {},
    • "contentcss": {},
    • "content": {}

</templatedata>