Difference between revisions of "Template:MakeRef"

From Wikispooks
Jump to navigation Jump to search
(source_title)
m (Trim junk)
 
Line 4: Line 4:
 
* {{t|source_URL}} (recommended)
 
* {{t|source_URL}} (recommended)
 
* {{t|source_title}} (recommended) - Title of the document
 
* {{t|source_title}} (recommended) - Title of the document
* {{t|source_details}} (optional) - Use for extra details, e.g. p.95</noinclude><includeonly>{{#if:<!--
+
* {{t|source_details}} (optional) - Use for extra details, e.g. p.95</noinclude><includeonly><!--
  
 
Some or all of source_*:
 
Some or all of source_*:

Latest revision as of 16:04, 25 March 2019

This is used by Template:SMWQ. It uses Template:MakeRef/Name. It makes a reference out of the following params, at least one of which is required:

  • ref_name (only useful if the page featured multiple references from this source)
  • source_name (recommended) - If this is a page name, it will link to that page
  • source_URL (recommended)
  • source_title (recommended) - Title of the document
  • source_details (optional) - Use for extra details, e.g. p.95