FANDOM


(Adding referencing template approved by Conrads99)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><!--
+
<span title="{{Ref/Content|{{{1|}}}|{{{2|}}}|{{{3|}}}}}">{{#tag:ref|{{Ref/Content|{{{1|}}}|{{{2|}}}|{{{3|}}}}}|name={{Ref/Name|{{{1|}}}|{{{2|}}}|{{{3|}}}}}}}</span><noinclude> ← Default
-->{{#switch: {{{special|}}}
+
<pre>
|timeskip={{#tag:ref|{{Qref/contents|chapter=598|episode=517|text=two years pass in the storyline.}}|name=Timeskip}}
+
{{ref
|vicehaki={{#tag:ref|{{Qref/contents|chapter=594|page=7|episode=511|text=Dr. Fishbonen states Haki is a power all vice admirals use.}}|name=vicehaki}}
+
|<manga(m)/anime(a)>
||#default=<!--
+
|<chapter/episode number>
-->{{#if: {{{name|}}}
+
|<page number> (manga only)
|<!-- if name specified -->
+
}}
{{#tag:ref
+
</pre>
|<!-- contents -->
+
{{Qref/contents
+
==Examples==
|chapter={{{chapter|{{{chap|}}}}}}
+
*<code><nowiki>{{Ref|m|1|1}}</nowiki></code> gives this{{Ref|m|1|1}}
|chapter2={{{chapter2|{{{chap2|}}}}}}
+
*<code><nowiki>{{Ref|a|1}}</nowiki></code> gives this{{Ref|a|1}}
|volume={{{volume|{{{vol|}}}}}}
+
|episode={{{episode|{{{ep|}}}}}}
+
==Sub-Templates==
|episode2={{{episode2|{{{ep2|}}}}}}
+
*[[Template:Ref/Content]]
|data={{{data|{{{databook|}}}}}}
+
*[[Template:Ref/Name]]
|page={{{page|}}}
+
|other={{{other|}}}
+
{{References}}
|text={{#ifeq:{{{text|{{{1|.}}}}}}|.||{{{text|{{{1|}}}}}}}}
 
}}
 
|<!-- name -->
 
name={{{name|{{{id|}}}}}}
 
}}
 
|<!-- if name unspecified -->
 
{{#tag:ref
 
|<!-- contents -->
 
{{Qref/contents
 
|chapter={{{chapter|{{{chap|}}}}}}
 
|chapter2={{{chapter2|{{{chap2|}}}}}}
 
|volume={{{volume|{{{vol|}}}}}}
 
|episode={{{episode|{{{ep|}}}}}}
 
|episode2={{{episode2|{{{ep2|}}}}}}
 
|data={{{data|{{{databook|}}}}}}
 
|page={{{page|}}}
 
|other={{{other|}}}
 
|text={{#ifeq:{{{text|{{{1|.}}}}}}|.||{{{text|{{{1|}}}}}}}}
 
}}
 
}}<!--
 
-->}}}}</includeonly><noinclude>Humbly taken from the [[w:c:onepiece:Template:Qref|One Piece Wiki]]
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:52, March 14, 2020

Cite error: Invalid <ref> tag; refs with no name must have content. ← Default

{{ref
|<manga(m)/anime(a)>
|<chapter/episode number>
|<page number> (manga only)
}}

ExamplesEdit

  • {{Ref|m|1|1}} gives this[1]
  • {{Ref|a|1}} gives this[2]

Sub-TemplatesEdit

  1. Dr. Stone Manga: Chapter 1, Page 1
  2. Dr. Stone Anime: Episode 1

Community content is available under CC-BY-SA unless otherwise noted.