Difference between revisions of "Template:Quotebox"
From Paragon Wiki Archive
(making name parameter optional) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
}} width:100%; text-align: left; margin: 0.5em;" | }} width:100%; text-align: left; margin: 0.5em;" | ||
|- valign="top" | |- valign="top" | ||
− | |style="width: 45px;" | + | |style="width: 45px; text-align: center;"|{{#switch:{{{type}}} |
|dev=[[File:Chatballoon-Dev.png]] | |dev=[[File:Chatballoon-Dev.png]] | ||
|#default=[[File:Chatballoon.png]] | |#default=[[File:Chatballoon.png]] | ||
}} | }} | ||
|<div style="border-bottom: 1px dotted black; margin-bottom: 5px;">{{#if:{{{name|}}}|'''{{{name}}}'''}} ''{{small|1=(From {{{source}}}{{#if:{{{date|}}}|, {{{date}}}|}})}}''</div>{{{text}}} | |<div style="border-bottom: 1px dotted black; margin-bottom: 5px;">{{#if:{{{name|}}}|'''{{{name}}}'''}} ''{{small|1=(From {{{source}}}{{#if:{{{date|}}}|, {{{date}}}|}})}}''</div>{{{text}}} | ||
− | |}{{# | + | |}{{#if:{{{nocat|}}}||{{#switch:{{{type}}} |
+ | |dev=[[Category:Developer Quotations]] | ||
+ | }}}}<noinclude>[[Category:Editors Tags Templates]]{{documentation}}</noinclude> |
Latest revision as of 14:30, 25 July 2012
(From {{{source}}}) {{{text}}}
|
[edit] [ ] Documentation
Usage
This template is used for the notation of quotations from developers, community reps, and others whose comments might be applicable to a wiki article as well as direct statements from other sources (such as excerpts from the Official Website, or stories posted on the Forums). Quotebox differs from {{Cutscene}} in that Cutscene is used primarily for transcribing cutscenes and other in-game events, whereas Quotebox is primarily for referencing things outside of the game, especially those things that might require a citation.
Here's a copy-and-paste blank version of the template:
{{Quotebox |type= |name= |source= |date= |text= }}
Quotebox uses several parameters:
- name= is an optional parameter and is used to indicate the speaker or poster of the quoted material.
- text= is a required parameter, it is used to supply the actual text of what is being quoted.
- source= is a required parameter, it is used to indicate a link or short description of the source of the quotation.
- date= is an optional parameter, it is used to note the date the quoted material was posted or said by the individual in name.
- type= is an optional parameter, it is used to indicate the type of statement being quoted.
- If left blank, this parameter defaults to a generic speaker and provides a box with a grey background.
- If dev is supplied, a developer statement is indicated and the box has a light red background and a matching icon. Additionally, the article will be placed in Category:Developer Quotations.
- nocat= is an optional parameter, it is used to disable automatic categorization. Use as nocat=1.
Example
- This is a good example of proper use of the template. It lists a specific source, a date of posting (though not exact), and the person who wrote the statement. It also illustrates what a developer Quotebox looks like.
{{Quotebox |type=dev |name=Joe "Hero 1" Morrissey |source=the [http://web.archive.org/web/20121003093838/http://na.cityofheroes.com/en/news/game_updates/issue_12/issue_12_the_midnight_hour_and.php Official Website] |date=circa May 20, 2008 |text=I've been a writer/designer for about 10 years now, starting at Blizzard North working on Diablo II, the expansion and anything else us "Northies" thought was a good idea at the time. From there I went over to Backbone and learned how to roll up my sleeves and get down and dirty in design. I worked on a number of handheld games the highlight of those being Death Jr. 2. About a year ago, my wife and I found out we were going to have our first kid and that meant a couple lifestyle changes needed to occur. The main one being a job much closer to home. I applied at Cryptic Studios and apparently I "interviewed well," a fact Positron is quick to point out anytime that I make his life difficult. }}
Joe "Hero 1" Morrissey (From the Official Website, circa May 20, 2008) I've been a writer/designer for about 10 years now, starting at Blizzard North working on Diablo II, the expansion and anything else us "Northies" thought was a good idea at the time. From there I went over to Backbone and learned how to roll up my sleeves and get down and dirty in design. I worked on a number of handheld games the highlight of those being Death Jr. 2. About a year ago, my wife and I found out we were going to have our first kid and that meant a couple lifestyle changes needed to occur. The main one being a job much closer to home. I applied at Cryptic Studios and apparently I "interviewed well," a fact Positron is quick to point out anytime that I make his life difficult.
|
- This example is a poor example of how to use this template. It does not indicate a specific source or date. However, it shows what a non-developer comment might look like.
{{Quotebox |name=Non-Developer Dude |source=someplace |date=Febuary 30, 2053 |text=This is a fictitious example solely to illustrate the appearance of the template. }}
Non-Developer Dude (From someplace, Febuary 30, 2053) This is a fictitious example solely to illustrate the appearance of the template.
|
See also
- {{Cutscene}}