Template:Post: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{Indent}}}{|border=1 cellpadding=5 cellspacing=0 style=background:#F0F0F0 | {{#ifeq: {{{Indent| }}} | {{{Indent|u}}} | | {{{Indent}}} }}{|border=1 cellpadding=5 cellspacing=0 style=background:#F0F0F0 | ||
| | | | ||
{{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }} | {{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }} |
Revision as of 12:28, 24 January 2009
Related topics: Wiki Templates, Forum
Syntax
{{Post | Indent = | To = | Text = }}
Usage
Used to make posts on talk pages or on the Forum to help readability. If Indent is left blank there will be no indent, use a colon ( : ) for each level of indentation desired. To can also be left blank if there isn't a particular person the post is addressed to.
For example:
{{Post | Indent = | To = Wiki User 1 | Text = I agree that we should start using exact names for in game items. But what about when more than one item has the same name, which should get the exact name? --~~~~ }} {{Post | Indent = : | To = Wiki User 2 | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --~~~~ }}
displays as:
To: Wiki User 1 |
To: Wiki User 2 |
You can include example code within a post, for example:
To use an alias within a template parameter you can't use a regular pipe because the template views it as a parameter separator. Instead of a pipe, use {{!}}, for example: {{Related|:Category:Maps{{!}}All Maps}} will display as: Related topics: All Maps --Wiki User 1 06:30, 24 January 2009 (CST) |