Template:ItemPost: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(fix)
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table width=100% style="margin: 2px; margin-right: 5px; margin-left: 5px"><tr><td style="background-color:#dddddd">
<table width=100% style="margin-top: 3px; margin-bottom: 3px; margin-right: 0px; margin-left: 0px"><tr style="background-color:#d0d0d0; border:1px solid #c0c0c0; padding: 0 .5em .3em .2em"><td>
*Posted by: {{{2|unsigned (see History)}}}
* Posted by: {{{by|{{{1|unsigned (see History)}}}}}}
</td></tr><tr><td style="background-color:#eeeeee; padding: 0 0 0 1.5em">
</td><td width=2%>[[Template:ItemPost|<small>&nbsp;''Help&nbsp;</small>]]</td></tr><tr><td colspan=2 style="background-color:#e0eee0; border:1px solid #a0a0a0; padding: 0 .5em .3em 1.5em">
{{{1}}}
{{{text|{{{2|To create this field, use: <tt><nowiki>text=<text of post></nowiki></tt>}}}}}}
</td></tr></table><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</td></tr></table><noinclude>
<br>
{{prot-temp}}
[[Category:Templates]]
<br>
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ffdddd">
<center><big>'''Syntax and usage'''</big></center>
 
This template is used to post a message (item) on the [[CW:BB|Bulletin board]], and it can also be used to post items on talk pages.
 
'''To post a message in an existing topic, such as:
<table width="100%" frame="below">
<tr><td width=95%><font style="font-size:150%">Looking for works in Quenya</font></td><td>[<font color=blue>edit</font>]</td></tr></table>
 
simply click on the blue <font color=blue>edit</font> link, go to the last posted message in the topic, start a new line, and use the '''[[Template:ItemPost]]''' in the format ('''note the <font color=red>new syntax</font>'''):
 
<tt><nowiki>{{ItemPost</nowiki><br><nowiki>|by=<your name & date></nowiki><br><nowiki>|text=<your message></nowiki><br><nowiki>}}</nowiki></tt>
 
The easiest way to [[Help:Signatures|sign and date]] your message is to type four tildes ('''<tt><nowiki>~~~~</nowiki></tt>''') for <your name & date>.  Thus, for example, typing
 
<tt><nowiki>{{ItemPost</nowiki><br>
<nowiki>|by=~~~~</nowiki><br>
<nowiki>|text=</nowiki><br>
Here is a sample message<br>
spread<br>
over<br>
several lines.<nowiki><br></nowiki><br>
 
It even has more than one paragraph.<br>
}}</tt>
 
resulted in:
 
{{ItemPost
|by={{User|CHGiffen|Chuck}}[[User talk:CHGiffen|<sub><small>'''talk'''</small></sub>]]&nbsp;[[User:Charles H. Giffen|Giffen]][[Charles H. Giffen|<sub>'''♫'''</sub>]] 01:58, 28 July 2008 (PDT)
|text=
Here is a sample message
spread
over
several lines.<br>
 
It even has more than one paragraph.
}}
 
'''N.B.''' The old syntax for Template:ItemPost still works but is now deprecated in favor of the new syntax, which allows for nested replies using [[Template:Reply]].
</div>
<br>
</noinclude>

Latest revision as of 06:45, 1 June 2015

  • Posted by: unsigned (see History)
 Help 

To create this field, use: text=<text of post>



Syntax and usage

This template is used to post a message (item) on the Bulletin board, and it can also be used to post items on talk pages.

To post a message in an existing topic, such as:

Looking for works in Quenya[edit]

simply click on the blue edit link, go to the last posted message in the topic, start a new line, and use the Template:ItemPost in the format (note the new syntax):

{{ItemPost
|by=<your name & date>
|text=<your message>
}}

The easiest way to sign and date your message is to type four tildes (~~~~) for <your name & date>. Thus, for example, typing

{{ItemPost
|by=~~~~
|text=
Here is a sample message
spread
over
several lines.<br>

It even has more than one paragraph.
}}

resulted in:

 Help 

Here is a sample message spread over several lines.

It even has more than one paragraph.

N.B. The old syntax for Template:ItemPost still works but is now deprecated in favor of the new syntax, which allows for nested replies using Template:Reply.