Template:Document: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(References not working for now, I'll look into that later)
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|style="background-color: <nowiki>#</nowiki>{{#switch:{{{status}}}|TR=ff4545|VT=ff8f45|SR=ffe690|VS=9c80ff|}}" rowspan="2" |
|rowspan="2" style="background-color: <nowiki>#</nowiki>{{#switch:{{{status}}}|TR=ff4545|VT=ff8f45|SR=ffe690|VS=9c80ff|}}"|
|rowspan="2"|{{#if:{{{id|}}}|<nowiki>#</nowiki>{{{id}}}|}}
|rowspan="2" style="background-color: #{{#switch:{{{status}}}|TR=fff0f0|VT=fff7f1|SR=fffcf1|VS=f4f1ff|ffffff}};"|{{#if:{{{id|}}}|<nowiki>#</nowiki>{{{id}}}|}}
|[[File:{{#if:{{{image|}}}|{{{image}}}|No Image Wide.svg}}|250px]]<br>{{#if:{{{source|}}}|{{{source}}}|Source needed}}
|style="width: 200px; background-color: #{{#switch:{{{status}}}|TR=fff0f0|VT=fff7f1|SR=fffcf1|VS=f4f1ff|ffffff}};"|[[File:{{{image|No Image Wide.svg}}}|200px]]<br>{{{source|Source needed}}}
|{{#if:{{{text|}}}|{{{text}}}|}}
|style="padding: 5px; background-color: #{{#switch:{{{status}}}|TR=fff0f0|VT=fff7f1|SR=fffcf1|VS=f4f1ff|ffffff}};"|{{#if:{{{text|}}}|{{{text}}}|}}
|{{#if:{{{notes|}}}|{{{notes}}}|}}
|style="padding: 5px; background-color: #{{#switch:{{{status}}}|TR=fff0f0|VT=fff7f1|SR=fffcf1|VS=f4f1ff|ffffff}};"|{{#if:{{{notes|}}}|{{{notes}}}|}}
<!--
|-
|-
|colspan="3"|{{#if:{{{references|}}}|References: {{{references}}}|&nbsp;}}</includeonly><noinclude>
|colspan="3" style="padding-left: 5px; background-color: #{{#switch:{{{status}}}|TR=fff0f0|VT=fff7f1|SR=fffcf1|VS=f4f1ff|ffffff}}; font-size: 10px;"|References: {{{references|&nbsp;}}}</includeonly><noinclude>
-->
===Usage===
===Usage===
<pre>
<pre>
Line 39: Line 37:
;notes
;notes
:Additional anotations, if any
:Additional anotations, if any
<!--
;references
;references
:The other categories the document might've fallen into. Used for categorizing
:The other categories the document might've fallen into. Used for categorizing
-->
</noinclude>
</noinclude>

Latest revision as of 20:32, 13 June 2011

Usage

{{Document/Header}}

{{Document
  |status=TR
  |id=3
  |image=Megami Interview 12eps.jpg
  |source=Megami Magazine, pre-broadcast
  |text=Article translation here
  |notes=Additional information here
<!--  |references=[#About the show in general|About the show in general]] | [[#About the art style and animation|About the art style and animation]] -->
}}

{{Document/Footer}}

Arguments:

Status
Optional. May be TR (translation request), VT (verify translation), SR (source not identified), VS (verify source), OK (default option, both the source and the translation are trusted)
id
A unique identifier (integer) for the document
image
Optional. A scan of the document, if available. If not, File:No Image Wide.svg will be used instead
source
The source of the document. Displayed below the image
text
The actual article translated
notes
Additional anotations, if any
references
The other categories the document might've fallen into. Used for categorizing