Template:Post: Difference between revisions
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#ifeq: {{{Indent| }}} | {{{Indent|u}}} | {{{Indent}}} | }}{|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; padding: 5px 5px 5px 5px;" | ||
{{border= | |||
| | | | ||
{{#ifeq:{{{To| }}} | | '''To:''' {{{To}}}<br> }} | {{#ifeq: {{{To| }}} | {{{To|u}}} | {{#ifeq:{{{To|}}} | | | '''''To:''' {{{To}}}''<br> }} | }} | ||
{{{Text}}} | {{{Text}}} | ||
|} | |}</includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
{{Related|Wiki Templates|Forum}} | {{Related|Wiki Templates|Forum}} | ||
== Syntax == | == Syntax == | ||
<pre style="width:auto; overflow:auto"> | |||
{{Post | |||
| Indent = | |||
| To = | |||
| Text = | |||
}} | |||
</pre> | |||
<pre> | <pre> | ||
{{Post | {{Post | ||
| Text = | | Text = | ||
}} | }} | ||
Line 18: | Line 22: | ||
== Usage == | == 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: | |||
<pre style="width:auto; overflow:auto"> | |||
{{Post | |||
| To = Wiki User 2 | |||
| 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 | {{Post | ||
| Indent = : | |||
| To = Wiki User 1 | | To = Wiki User 1 | ||
| Text = | | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --~~~~ | ||
}} | }} | ||
</pre> | |||
:{{Post | displays as: | ||
{{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? --[[User:Wiki User 1|Wiki User 1]] 06:04, 24 January 2009 (CST) | |||
}} | |||
{{Post | |||
| Indent = : | |||
| To = Wiki User 2 | | To = Wiki User 2 | ||
| Text = | | Text = There's an article, [[Naming Conventions]], that describes which gets the exact name --[[User:Wiki User 2|Wiki User 2]] 06:15, 24 January 2009 (CST) | ||
}} | |||
You can include example code within a post, for example: | |||
{{Post | |||
| Text = 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 <nowiki>{{!}}</nowiki>, for example: | |||
<pre> | |||
{{Related|:Category:Maps{{!}}All Maps}} | |||
</pre> | |||
will display as: | |||
{{Related|:Category:Maps{{!}}All Maps}} | |||
--[[User:Wiki User 1|Wiki User 1]] 06:30, 24 January 2009 (CST) | |||
}} | }} | ||
[[Category:Wiki Template]] | |||
</noinclude> | </noinclude> |
Latest revision as of 11:20, 21 April 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 | To = Wiki User 2 | 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 1 | 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) |