Template:Post: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#ifeq: {{{Indent| }}} | {{{Indent|u}}} | {{{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|u}}} | {{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }} | }} | ||
{{{Text}}} | {{{Text}}} | ||
|} | |} | ||
Line 14: | Line 14: | ||
| Indent = | | Indent = | ||
| To = | | To = | ||
| Text = | |||
}} | |||
</pre> | |||
<pre> | |||
{{Post | |||
| Text = | | Text = | ||
}} | }} |
Revision as of 12:30, 24 January 2009
Related topics: Wiki Templates, Forum
Syntax
{{Post | Indent = | To = | Text = }}
{{Post | 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
There's an article, Naming Conventions, that describes which gets the exact name --Wiki User 2 06:15, 24 January 2009 (CST)
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) |