Difference between revisions of "Templates"
| Line 102: | Line 102: | ||
{{Info|This is test info}} | {{Info|This is test info}} | ||
| + | |||
| + | |||
| + | === Warning === | ||
| + | |||
| + | <pre>{{Warning|Text}}</pre> | ||
| + | For a simple warning box | ||
| + | |||
| + | '''Sample Output:''' | ||
| + | |||
| + | {{Warning|This is a test warning}} | ||
| + | |||
| + | |||
| + | === Error === | ||
| + | |||
| + | <pre>{{Error|Text}}</pre> | ||
| + | For a simple error box | ||
| + | |||
| + | '''Sample Output:''' | ||
| + | |||
| + | {{Error|This is a test error (or whatever)}} | ||
| + | |||
| + | |||
| + | === InfoSmall === | ||
| + | |||
| + | <pre>{{InfoSmall|Text}}</pre> | ||
| + | For a small info box | ||
| + | |||
| + | '''Sample Output:''' | ||
| + | |||
| + | {{InfoSmall|This is a small info test}} | ||
| + | |||
| + | |||
| + | === WarningSmall === | ||
| + | |||
| + | <pre>{{WarningSmall|Text}}</pre> | ||
| + | For a small warning box | ||
| + | |||
| + | '''Sample Output:''' | ||
| + | |||
| + | {{WarningSmall|This is a small warning test}} | ||
| + | |||
| + | |||
| + | === ErrorSmall === | ||
| + | |||
| + | <pre>{{ErrorSmall|Text}}</pre> | ||
| + | For a small error box | ||
| + | |||
| + | '''Sample Output:''' | ||
| + | |||
| + | {{ErrorSmall|This is a small error test}} | ||
Revision as of 00:32, 31 December 2015
Templates
Return to: Main Page | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Templates created so far are:
Contents
Page Header Parent
{{PageHeaderParent|Title}}
For use at a parent document
Sample Output:
Title
Return to: Main Page | Tutorials | Portal | Forum | Project Manager | Bug Tracker
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. If the color parameters are included you must use there parameter name, BackgroundColor and FontColor.
Sample Output:
No color parameters
{{Header|Title}}
Text color set to red
{{Header|Title|FontColor=f00}}
Background color set to red
{{Header|Title|BackgroundColor=f00}}
Background color set to red and text color set to white
{{Header|Title|BackgroundColor=f00|FontColor=fff}}
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
PacketDetail
{{PacketDetails|Text}}
For detailed packet info display
Sample Output:
| OP_RemoteCmdMsg - 42 (2A)
| ||
| Def | HEX | ASCII |
0x2A |
2A 0E 00 08 00 4C 65 76 65 6C 5F 39 30 |
*....Level_90 |
PacketInfo
{{PacketInfo|Title|Text}}
For simple packet info display
Sample Output:
| Packet Type 42 (2A) - OP_RemoteCmdMsg
|
command_handler - int16 arguments - EQ2_16Bit_String |
Info
{{Info|Text}}
For a simple info box
Sample Output:
|
This is test info |
Warning
{{Warning|Text}}
For a simple warning box
Sample Output:
|
This is a test warning |
Error
{{Error|Text}}
For a simple error box
Sample Output:
|
This is a test error (or whatever) |
InfoSmall
{{InfoSmall|Text}}
For a small info box
Sample Output:
|
This is a small info test |
WarningSmall
{{WarningSmall|Text}}
For a small warning box
Sample Output:
|
This is a small warning test |
ErrorSmall
{{ErrorSmall|Text}}
For a small error box
Sample Output:
|
This is a small error test |