Difference between revisions of "Template:Include timeline/vertical instructions"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
m
imported>Jonesey95
(Fix Linter errors)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="float:right; font-size:smaller; text-align:right;" class="plainlinksneverexpand">This text: [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} edit] • [{{fullurl:{{FULLPAGENAMEE}}|action=history}} history]<br>
+
<div style="float:right; font-size:smaller; text-align:right;" class="plainlinksneverexpand">This text: [{{fullurl:Template:Include_timeline/vertical_instructions|action=edit}} edit] • [{{fullurl:Template:Include_timeline/vertical_instructions|action=history}} history]<br />
 
Box contents: [{{fullurl:Template:Include timeline/vertical template|action=edit}} edit] • [{{fullurl:Template:Include timeline/vertical template|action=history}} history]</div>
 
Box contents: [{{fullurl:Template:Include timeline/vertical template|action=edit}} edit] • [{{fullurl:Template:Include timeline/vertical template|action=history}} history]</div>
 
'''You're ready to create a template!'''
 
'''You're ready to create a template!'''
Line 5: Line 5:
 
Just follow these simple steps and you'll be up and running in no time!
 
Just follow these simple steps and you'll be up and running in no time!
  
* '''Add''' a closing brace to complete <code>{{subst:PAGENAMEE<span style="color:#c11; font-weight:bold;">}</span>}</code>
 
 
* '''Fill in''' the "from" and "to" parameters: these are the only parameters that are required
 
* '''Fill in''' the "from" and "to" parameters: these are the only parameters that are required
 
* '''Copy''' as many bars, notes etc as you need, replacing <code>#</code> with numbers 1, 2, 3… etc.
 
* '''Copy''' as many bars, notes etc as you need, replacing <code>#</code> with numbers 1, 2, 3… etc.
Line 12: Line 11:
 
''Remember'':
 
''Remember'':
 
* You can set <code>help</code> to <code>on</code>, the press "preview", to view useful information
 
* You can set <code>help</code> to <code>on</code>, the press "preview", to view useful information
* You must use <tt>{</tt><tt>{!}}</tt> whereever you want a | to be rendered in the timeline
+
* You must use {{tlc|!}} wherever you want a | to be rendered in the timeline
 
* Large borders will displace bars in many browsers
 
* Large borders will displace bars in many browsers
* Text should not be wider than its containing bar, as this may cause compatability issues - use <<code>br</code>> to create a new line
+
* Text should not be wider than its containing bar, as this may cause compatibility issues - use <<code>br</code>> to create a new line
 
* Units default to [[em (typography){{!}}em]], the height and width of an 'M'.
 
* Units default to [[em (typography){{!}}em]], the height and width of an 'M'.
  
 
''See {{tl|Graphical timeline}} for full documentation.''
 
''See {{tl|Graphical timeline}} for full documentation.''

Latest revision as of 18:39, 8 June 2020

This text: edithistory
Box contents: edithistory

You're ready to create a template!

Just follow these simple steps and you'll be up and running in no time!

  • Fill in the "from" and "to" parameters: these are the only parameters that are required
  • Copy as many bars, notes etc as you need, replacing # with numbers 1, 2, 3… etc.
  • Delete any parameters you don't need

Remember:

  • You can set help to on, the press "preview", to view useful information
  • You must use {{!}} wherever you want a | to be rendered in the timeline
  • Large borders will displace bars in many browsers
  • Text should not be wider than its containing bar, as this may cause compatibility issues - use <br> to create a new line
  • Units default to em, the height and width of an 'M'.

See {{Graphical timeline}} for full documentation.