Difference between revisions of "Templates"

Line 11: Line 11:
  
 
'''Sample Output:'''
 
'''Sample Output:'''
 
 
{{PageHeaderParent|Title}}
 
{{PageHeaderParent|Title}}
  
Line 21: Line 20:
  
 
'''Sample Output:'''
 
'''Sample Output:'''
 
 
{{PageHeaderChild|Title|Sub}}
 
{{PageHeaderChild|Title|Sub}}
  
Line 33: Line 31:
  
 
'''No color parameters'''
 
'''No color parameters'''
 
+
<pre>{{Header|Title}}</pre>
 
{{Header|Title}}
 
{{Header|Title}}
  
Line 45: Line 43:
  
 
'''No color parameters'''
 
'''No color parameters'''
 
 
<pre>{{TextBox|Title|Text}}</pre>
 
<pre>{{TextBox|Title|Text}}</pre>
 
{{TextBox|Title|Text}}
 
{{TextBox|Title|Text}}

Revision as of 23:21, 25 April 2015

Templates

Return to: Main Page | Tutorials | Portal | Forum | Project Manager | Bug Tracker


Templates created so far are:

Page Header Parent

{{PageHeaderParent|Title}}

For use at a parent document

Sample Output:


Page Header Child

{{PageHeaderChild|Title|Sub}}

For use in a child doc, nav's back to it's parent

Sample Output:

Title - Sub

Return to: Title | Tutorials | Portal | Forum | Project Manager | Bug Tracker


Header

{{Header|Title|Background Color|Text Color}}}

For use as a subject header, background and text color parameters are optional and have default values so they don't need to be included.

Sample Output:

No color parameters

{{Header|Title}}
Title


Text Box

{{TextBox|Title|Text|Background Color|Text Color}}

For use to make information stand out, background and text color are optional and have default values so they don't need to be included. If the color parameters are included you must use there parameter name, BackgroundColor and FontColor.

Sample Output:

No color parameters

{{TextBox|Title|Text}}

Title

Text

Text color set to red

{{TextBox|Title|Text|FontColor=f00}}

Title

Text

Background color set to black

{{TextBox|Title|Text|BackgroundColor=000}}

Title

Text

Background color set to red and text color set to black

{{TextBox|Title|Text|BackgroundColor=f00|FontColor=000}}

Title

Text


Packet Details

Template:PacketDetails


Packet Info

Template:PacketInfo