Template:Speech: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
imported>Errorage
(1 revision)
imported>Jordie0608
(Created page with "<div align="center"> {| width=80% style="float:top; background-color:#ffeeee; text-align:center;" | <font size='3'>'''THIS PAGE NEEDS REVISING!'''</font> |- |The following pag...")
Line 1: Line 1:
{|cellspacing=0 cellpadding=10 width=600|
<div align="center">
|width=50|{{{image|[[File:Assistant.png|right]]}}}&nbsp;
{| width=80% style="float:top; background-color:#ffeeee; text-align:center;"
|bgcolor="fcfbce"|'''{{{name|Assistant}}} says:'''<br>''"{{{text|I don't want to die!}}}"''
| <font size='3'>'''THIS PAGE NEEDS REVISING!'''</font>
|}<noinclude>
|-
|The following page is out of date and needs to be revised. <br>The revision reason is: '''"{{{reason|No reason provided}}}"'''
|}
<includeonly>[[Category:Needs revision|{{FULLPAGENAME}}]]</includeonly>
</div>


<noinclude>
Adding this template adds the page to the following category: [[:Category:Needs revision]]


== How to use ==
==Use==


  <nowiki>{{Speech}}</nowiki>
To add the tempate to a site simply write:


yields
{| style="background-color:#EEEEEE"
| <code><nowiki>{{Needs revision</nowiki><br><nowiki>|reason = The image on this page is out of date.}}</nowiki></code>
|}


{{Speech}}
this will give the following result:


  <nowiki>{{Speech</nowiki>
{| width=80% style="float:top; background-color:#ffeeee; text-align:center;"
  <nowiki>|name=Urist McDorf</nowiki>
| <font size='3'>'''THIS PAGE NEEDS REVISING!'''</font>
  <nowiki>|text=Hello. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text</nowiki>
|-
 
|The following page is out of date and needs to be revised. <br>The revision reason is: '''"The image on this page is out of date."'''
  <nowiki>text text text text text text text!</nowiki>
|}
  <nowiki>|image=[[File:Clown.png|right]]</nowiki>
[[Category:Templates]]
  <nowiki>}}</nowiki>
 
yields...
 
{{Speech
|name=Urist McDorf
|text=Hello. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
 
text text text text text text text!
|image=[[File:Clown.png|50px|right]]
}}
 
 
== Meaning of variables ==
 
'''name''' = The name of the speaker, defaults to "Assistant"<br>
'''text''' = The spoken text, defaults to "I don't want to die!"<br>
'''image''' = The image of the speaker. Defaults to Assistant.png [[File:Assistant.png]]
 
[[Category:templates]]
</noinclude>
</noinclude>

Revision as of 16:10, 15 April 2014

THIS PAGE NEEDS REVISING!
The following page is out of date and needs to be revised.
The revision reason is: "No reason provided"


Adding this template adds the page to the following category: Category:Needs revision

Use

To add the tempate to a site simply write:

{{Needs revision
|reason = The image on this page is out of date.}}

this will give the following result:

THIS PAGE NEEDS REVISING!
The following page is out of date and needs to be revised.
The revision reason is: "The image on this page is out of date."