Difference between revisions of "Template:Unpublished cite"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 2: Line 2:
 
  |{{#ifeq: {{#counter: {{{citeName}}}|type=numeral}}
 
  |{{#ifeq: {{#counter: {{{citeName}}}|type=numeral}}
 
     |1
 
     |1
     |{{#tag:ref|An unpublished factoid written by {{{author|[[User:Tjoneslo|Tjoneslo]] ([[User talk:Tjoneslo|talk]])}}}|name={{{citeName}}} }}
+
     |{{#tag:ref|An unpublished factoid written by {{{author|<includeonly>~~</includeonly>~~}}}|name={{{citeName}}} }}
 
     |{{#tag:ref||name={{{citeName}}} }}
 
     |{{#tag:ref||name={{{citeName}}} }}
 
   }}
 
   }}
  |{{#tag:ref|An unpublished factoid written by {{{author|[[User:Tjoneslo|Tjoneslo]] ([[User talk:Tjoneslo|talk]])}}} }} }}
+
  |{{#tag:ref|An unpublished factoid written by {{{author|}}} }} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category: Templates|Unpublished cite]] [[Category: Text Expansion Templates|Unpublished cite]]Adds a citation for an fact or opinion which has not been published in any canon or non canon publication.  
 
[[Category: Templates|Unpublished cite]] [[Category: Text Expansion Templates|Unpublished cite]]Adds a citation for an fact or opinion which has not been published in any canon or non canon publication.  

Revision as of 00:12, 4 May 2017

~~}}}|name={{{citeName}}} }}

   |[1]
 }}
|[2] }}

</includeonly>Adds a citation for an fact or opinion which has not been published in any canon or non canon publication.

Parameters are:

citeName
A name for this citation. Used by the ref tag to allow multiple reference to the same citation
author
Author of this factoid, defaults to user signature.
  1. Cite error: Invalid <ref> tag; no text was provided for refs named {{{citeName}}}
  2. An unpublished factoid written by