Modèle:Hidden : Différence entre versions

De EncyclopAtys

Ligne 3 : Ligne 3 :
 
!<div style="font-weight:{{{fw1|bold}}};background-color:{{{bg1|#{{ColorAtys|type=bg}}}}};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|}}}"|{{{content|{{{2}}}}}}
{{{content|{{{2}}}}}}
 
 
|}
 
|}
 
<noinclude>Content that should not be hidden.[[Category:Templates|{{PAGENAME}}]]
 
<noinclude>Content that should not be hidden.[[Category:Templates|{{PAGENAME}}]]
Ligne 15 : Ligne 14 :
 
** "fw1": {font weight for title},
 
** "fw1": {font weight for title},
 
** "bg1": {bg for title},
 
** "bg1": {bg for title},
** "ta1": {text align},
+
** "ta1": {text align for title},
 
** "headercss": {},
 
** "headercss": {},
 
** "header": {},
 
** "header": {},
** "fw2": {},
+
** "fw2": {font weight for content},
** "bg2": {},
+
** "bg2": {bg for content},
** "ta2": {},
+
** "ta2": {ext align for content},
 
** "contentcss": {},
 
** "contentcss": {},
 
** "content": {}
 
** "content": {}

Version du 27 juin 2018 à 16:21

{{{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 for title},
    • "headercss": {},
    • "header": {},
    • "fw2": {font weight for content},
    • "bg2": {bg for content},
    • "ta2": {ext align for content},
    • "contentcss": {},
    • "content": {}

</templatedata>