Template:ExpandBox: Difference between revisions

From bradwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="toccolours mw-collapsible mw-collapsed" data-collapsetext="Collapse" data-expandtext="{{{opener|View}}}" style="width:{{{width|100%}}}; font-family:{{{font-title|Century Gothic}}}, Arial; float:{{{float|left}}}; font-size:18px; background-color:{{{color|white}}};">
<div class="toccolours mw-collapsible mw-collapsed" data-collapsetext="{{{closer| ▲ }}}" data-expandtext="{{{opener| }}}" style="display:{{{display|block}}}; width:{{{width|95%}}}; font-family:{{{font-title|serif}}}; float:{{{float|left}}}; font-size:16px; border-style:{{{border-style|groove}}}; border-width:{{{border-width|2px}}}; border-color:{{{border-color|#8c9091}}}; border-radius:{{{border-radius|6px}}}; padding:{{{padding|6px 5px 6px 20px}}}; background-color:{{{color|#FFF}}}; margin:{{{margin|0 1%}}}; word-wrap:break-word;">
{{{1}}}
{{{1}}}
<div class="mw-collapsible-content" style="word-break:{{break|break-all}}; word-wrap:{{wrap|break-word}}; min-height:{{{height|100px}}}; font-size:{{{font-size|12}}}; font-family:{{{font-family|Arial}}};">{{{2}}}</div>
<div class="mw-collapsible-content" style="min-height:{{{mh|100px}}}; font-size:{{{sz|12px}}}; font-family:{{{font|Arial}}}; padding:{{{pad|6px 8px 10px 4px}}};"><hr style="margin-top:0.1em; margin-bottom:0.8em;">
</div>{{Clear}}
{{{2}}}</div>
<noinclude>
</div>{{Clear}}<noinclude>
<br><br><br>
<br><br><br><br><br>
----


  <nowiki>
{{ExpandBox|display=block|width=50%|font-title=papyrus|float=left
{{ExpandBox|width=80%|float=left|opener=View|
|border-style=groove|border-width=2px|border-color=#8c9091|border-radius=6px
Header [[Content]] Is Shown
|padding=12px 5px 1px 20px|color=#f7f7f7|margin=0 0 0 1%|mh=100%|sz=12px
|
|font=Arial|pad=6px 8px 10px 4px|opener=▼|closer=▲|Title of Expand Box|TEXT}}
Body text is hidden
 
<br>
 
  <pre>
    {{ExpandBox|display=block|width=50%|font-title=papyrus|float=left
    |border-style=groove|border-width=2px|border-color=#8c9091|border-radius=6px
    |padding=12px 5px 1px 20px|color=#f7f7f7|margin=0 0 0 1%|mh=100%|sz=12px
    |font=Arial|pad=6px 8px 10px 4px|opener=|closer=▲|Title of Expand Box|TEXT}}
</pre>
 
<br><br><br><br>
----
 
{{ExpandBox|display=block|width=50%|margin=0 0 0 25%
|font-title=papyrus|opener=open-sesame|Say the magic word|
You discover the chest contained 10 BitCoins (BTC) and 100 Ethereum (ETH).
What would you like to do?
 
# [https://bitcoin.org '''Exchange BTC for USD''']
# [https://www.ethereum.org '''Exchange ETH for USD''']
# [https://coinbase.com '''Loot chest, 'natch''']
}}
}}
</nowiki>


{{ExpandBox|width=80%|float=left|
<br>
Header [[Content]] Is Shown
 
|
<pre>
Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body {{Fig| [[File:Ohms.png]] }} text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body {{Fig| [[File:Ohms.png]] }} text is hidden Body text is hidden Body text is hidden Body text is hidden text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body text is hidden Body
    {{ExpandBox|display=block|width=50%|margin=0 0 0 25%
}}
    |font-title=papyrus|opener=open-sesame|Say the magic word|
    You discover the chest contained 10 BitCoins (BTC) and 100 Ethereum (ETH).
    What would you like to do?
 
    # [https://bitcoin.org '''Exchange BTC for USD''']
    # [https://www.ethereum.org '''Exchange ETH for USD''']
    # [https://coinbase.com '''Loot chest, 'natch''']
    }}
</pre>
 
 
 


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 18:06, 4 May 2020

{{{1}}}


{{{2}}}







Title of Expand Box


TEXT


    {{ExpandBox|display=block|width=50%|font-title=papyrus|float=left
    |border-style=groove|border-width=2px|border-color=#8c9091|border-radius=6px
    |padding=12px 5px 1px 20px|color=#f7f7f7|margin=0 0 0 1%|mh=100%|sz=12px
    |font=Arial|pad=6px 8px 10px 4px|opener=▼|closer=▲|Title of Expand Box|TEXT}}
 






Say the magic word


You discover the chest contained 10 BitCoins (BTC) and 100 Ethereum (ETH). What would you like to do?

  1. Exchange BTC for USD
  2. Exchange ETH for USD
  3. Loot chest, 'natch


    {{ExpandBox|display=block|width=50%|margin=0 0 0 25%
    |font-title=papyrus|opener=open-sesame|Say the magic word|
    You discover the chest contained 10 BitCoins (BTC) and 100 Ethereum (ETH). 
    What would you like to do? 

    # [https://bitcoin.org '''Exchange BTC for USD''']
    # [https://www.ethereum.org '''Exchange ETH for USD''']
    # [https://coinbase.com '''Loot chest, 'natch''']
    }}