Difference between revisions of "Templates"
| Line 26: | Line 26: | ||
<pre>{{Header|Title|Background Color|Text Color}}}</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. | + | 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:''' | '''Sample Output:''' | ||
| Line 33: | Line 33: | ||
<pre>{{Header|Title}}</pre> | <pre>{{Header|Title}}</pre> | ||
{{Header|Title}} | {{Header|Title}} | ||
| + | '''Text color set to red''' | ||
| + | <pre>{{Header|Title|FontColor=f00}}</pre> | ||
| + | {{Header|Title|FontColor=f00}} | ||
| + | '''Background color set to red''' | ||
| + | <pre>{{Header|Title|BackgroundColor=f00}}</pre> | ||
| + | {{Header|Title|BackgroundColor=f00}} | ||
| + | '''Background color set to red and text color set to white''' | ||
| + | <pre>{{Header|Title|BackgroundColor=f00|FontColor=fff}}</pre> | ||
| + | {{Header|Title|BackgroundColor=f00|FontColor=fff}} | ||
| Line 56: | Line 65: | ||
| − | === | + | === PacketDetail === |
| + | |||
| + | <pre>{{PacketDetails|Text}}</pre> | ||
| + | For detailed packet info display | ||
| + | |||
| + | '''Sample Output:''' | ||
| − | + | {{PacketDetails|OP_RemoteCmdMsg - 42 (2A) | |
| + | |<pre>0x2A</pre> | ||
| + | |<pre>2A 0E 00 08 00 4C 65 76 65 6C 5F 39 30</pre> | ||
| + | |<pre>*....Level_90</pre> | ||
| + | }} | ||
| − | === | + | === PacketInfo === |
| + | |||
| + | <pre>{{PacketInfo|Title|Text}}</pre> | ||
| + | For simple packet info display | ||
| + | |||
| + | '''Sample Output:''' | ||
| − | + | {{PacketInfo|Packet Type 42 (2A) - OP_RemoteCmdMsg | |
| + | |<pre> | ||
| + | command_handler - int16 | ||
| + | arguments - EQ2_16Bit_String | ||
| + | </pre> | ||
| + | }} | ||
Revision as of 23:41, 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:
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 |