Difference between revisions of "Templates"

Line 1: Line 1:
 
{{PageHeaderParent|Templates}}
 
{{PageHeaderParent|Templates}}
  
Templates I have made so far are:
+
Templates created so far are:
  
 
__TOC__
 
__TOC__
Line 7: Line 7:
 
=== Page Header Parent ===
 
=== Page Header Parent ===
  
<pre>{{PageHeaderParent|Title}} - for use at a parent document</pre>
+
<pre>{{PageHeaderParent|Title}}</pre>
 +
For use at a parent document
  
 
'''Sample Output:'''
 
'''Sample Output:'''
Line 16: Line 17:
 
=== Page Header Child ===
 
=== Page Header Child ===
  
<pre>{{PageHeaderChild|Title|Sub}} - for use in a child doc, nav's back to it's parent</pre>
+
<pre>{{PageHeaderChild|Title|Sub}}</pre>
 +
For use in a child doc, nav's back to it's parent
  
 
'''Sample Output:'''
 
'''Sample Output:'''
Line 25: Line 27:
 
=== Header ===
 
=== Header ===
  
<pre>{{Header|Title|Background Color|Text Color}}} - for use as a subject header, background and text color parameters are optional and don't need to be included</pre>
+
<pre>{{Header|Title|Background Color|Text Color}}}</pre>
 +
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:'''
 
'''Sample Output:'''

Revision as of 23:19, 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

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