Editing Template:Hidden begin

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<includeonly><div class="mw-collapsible {{#ifeq:{{{showhide|}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}} | |mw-collapsed}}  
 
<includeonly><div class="mw-collapsible {{#ifeq:{{{showhide|}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}} | |mw-collapsed}}  
 
{{{class|}}}" style="box-sizing:border-box;width:100%;font-size:95%;padding:4px;border:{{{border|none}}};{{{style|}}}"><!--
 
{{{class|}}}" style="box-sizing:border-box;width:100%;font-size:95%;padding:4px;border:{{{border|none}}};{{{style|}}}"><!--
           --><div style="font-size:100%;line-height:1.6;font-weight:bold;background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{titlestyle|{{{headercss|}}}}}}">{{{title|}}}</div><!--
+
           --><div style="font-size:100%;line-height:1.6;font-weight:bold;background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}};{{{titlestyle|{{{headercss|}}}}}}">{{{header|}}}{{{title|}}}</div><!--
           --><div class="mw-collapsible-content" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"></includeonly><noinclude>
+
           --><div class="mw-collapsible-content" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}};{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"></includeonly><noinclude>
  
 
This template creates a dynamic navigation box using Mediawiki style sheet declarations. In a saved, rendered page this template creates a clickable link that toggles between [show] and [hide]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, it displays the second parameter (the body) below the heading and the [show] link becomes [hide]. Clicking on [hide] then hides the body and the [hide] link becomes [show] again.
 
This template creates a dynamic navigation box using Mediawiki style sheet declarations. In a saved, rendered page this template creates a clickable link that toggles between [show] and [hide]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, it displays the second parameter (the body) below the heading and the [show] link becomes [hide]. Clicking on [hide] then hides the body and the [hide] link becomes [show] again.
Line 24: Line 24:
 
| bg2 =  
 
| bg2 =  
 
| ta2 =  
 
| ta2 =  
 +
<!--Older, semi-deprecated parameters:-->
 +
| header = | extra1 = | extra2 =
 
}}
 
}}
 
<!----[content to be hidden placed here]---->
 
<!----[content to be hidden placed here]---->

Please note that all contributions to Traveller are considered to be released under the Traveller Copyright (see Copyright for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: