Difference between revisions of "Template:Book ref"

From Abidan Archive Wiki
Jump to navigation Jump to search
(Created page with "<!-- adapted from https://coppermind.net/wiki/Template:Book_ref --><includeonly>{{#tag:ref<!-- TEXT -->|<!-- -->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- -->{{{pre|}}}<!--...")
 
(Added explanation.)
 
(22 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
  LINK
 
  LINK
 
   -->Summary:{{b|{{{1}}}}}#<!--
 
   -->Summary:{{b|{{{1}}}}}#<!--
   -->{{#switch:{{lc:{{{2}}}|}}|prologue=Prologue|epilogue=Epilogue|Chapter_{{{2}}}}}<!--
+
   -->{{#switch:{{lc:{{{1}}}|}}|tgc={{b|{{{2}}}}}|{{#switch:{{lc:{{{2}}}|}}|prologue=Prologue|Epilogue=epilogue|Chapter {{{2}}}}}}}<!--
  
 
  -->|<!--
 
  -->|<!--
Line 18: Line 18:
 
  LINK TEXT
 
  LINK TEXT
 
   -->''{{b|{{{1}}}}}'' <!--
 
   -->''{{b|{{{1}}}}}'' <!--
  -->{{#switch:{{lc:{{{2}}}|}}|prologue=prologue|epilogue=epilogue|chapter {{{2}}}}}<!--
+
  -->{{#switch:{{lc:{{{1}}}|}}|tgc=''{{b|{{{2}}}}}''|{{#switch:{{lc:{{{2}}}|}}|prologue=prologue|epilogue=epilogue|chapter {{{2}}}}}}}<!--
 
  -->]]<!--
 
  -->]]<!--
 
  -->{{{post|}}}<!--
 
  -->{{{post|}}}<!--
Line 30: Line 30:
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
  
-->}}</includeonly>
+
-->}}</includeonly><noinclude>
 +
This template was adapted from [https://coppermind.net/wiki/Template:Book_ref the Coppermind]. To use it, edit source and then type <nowiki>{{book ref|(the book or shorthand on </nowiki>[[Template:B]]<nowiki>|(chapter number, "prologue", or "epilogue")}}</nowiki>. If you want to use the dynamic editor on the edit tab, press insert, search for book ref, and then add two fields for the book/shorthand and for the chapter. <nowiki>{{book ref|c1|1}}</nowiki> results in:
 +
 
 +
{{book ref|c1|1}}
 +
 
 +
== Articles using Template ==
 +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
 +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 03:48, 17 April 2024

This template was adapted from the Coppermind. To use it, edit source and then type {{book ref|(the book or shorthand on Template:B|(chapter number, "prologue", or "epilogue")}}. If you want to use the dynamic editor on the edit tab, press insert, search for book ref, and then add two fields for the book/shorthand and for the chapter. {{book ref|c1|1}} results in:

[1]

Articles using Template