v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Collapsible"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (+doc)
(full width and {{{boxalign}}})
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="collapsible {{#ifeq:{{{hidden|no}}}|no||collapsed}}" style="width: {{{width|90%}}}"
+
<div style="width:auto">
! style="{{#if:{{{lcolor|}}}|color:{{{lcolor}}}}}" |<span style="text-align: {{{halign|center}}}; color: {{{hcolor|black}}};">{{{1|}}}</span>
+
{| class="collapsible {{#ifeq:{{{hidden|no}}}|no||collapsed}}" style="width: {{{width|100%}}}; margin:{{#switch:{{{boxalign|center}}}|center=0px auto|left=0px 0px 0px auto|right=0px auto 0px 0px}};"
 +
! style="{{#if:{{{lcolor|}}}|color:{{{lcolor|}}}}}; background-color:{{{hbgcolor|transparent}}}; border-color:{{{hbordercolor|#fff}}}; border-width:{{{hborderwidth|2px}}} text-align: {{{halign|center}}};" |<span style="text-align: {{{halign|{{{talign|center}}}}}}; color: {{{hcolor|black}}};">{{{1|}}}</span>
 
|-
 
|-
| style="text-align: {{{align|left}}}; color: {{{color|black}}};"| {{#if:{{{2|}}}|{{{2}}}|{{{1|No text supplied! (Use <code><nowiki>{{collapsible|text}}</nowiki></code>)}}}}}
+
| style="text-align: {{{align|left}}}; color: {{{color|black}}}; background-color:{{{bgcolor|transparent}}}; border-color:{{{bordercolor|#fff}}}; border-width:{{{borderwidth|2px}}}"| {{#if:{{{2|}}}|{{{2}}}|{{{1|No text supplied! (Use <code><nowiki>{{collapsible|text}}</nowiki></code>)}}}}}
|}<noinclude>
+
|}</div><noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:45, 28 January 2014

No text supplied! (Use {{collapsible|text}})