Difference between revisions of "Template:Timeline"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
(Undo revision 23611 by Inyos Aamoran (talk))
Line 1: Line 1:
<table cellpadding="0" cellspacing="0" border="0" style="clear:both; width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:230px; width:100%;  -moz-border-radius-topleft:1em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
+
{| cellpadding="0" cellspacing="0" border="0" style="clear:both; width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"
{{{content|{{{1}}}}}}
+
|width="*"| <div style="overflow:auto; height:230px; width:100%;  -moz-border-radius-topleft:1em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">{{{content|{{{1}}}}}}</div>
</div></td><td style="width:8px;"></td></tr></table><noinclude>__NOTOC__
+
|width="8"|  
==Usage instructions==
+
|} <noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
<pre><nowiki>
+
{{scroll box
+
|content=
+
 
+
}}
+
</nowiki></pre>
+
 
+
NOTE: An optional '''width''' variable can be used to control the width of the scroll box:
+
<pre><nowiki>
+
{{scroll box
+
|width=75%
+
|content=
+
 
+
}}
+
</nowiki></pre>
+
 
+
==Example==
+
===Code===
+
<pre><nowiki>
+
{{scroll box
+
|content=
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
}}
+
</nowiki></pre>
+
 
+
===Result===
+
{{scroll box
+
|content=
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
}}
+
 
+
===Alternative code===
+
<pre><nowiki>
+
{{scroll box|
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
}}
+
</nowiki></pre>
+
 
+
===Result===
+
{{scroll box|
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
*blah
+
}}
+
[[Category:Utility templates|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 13:26, 13 August 2018

{{{1}}}