Difference between revisions of "Template:MakeRef"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>Category:Templates'''This is used by Template:SMWQ. It makes a reference out of the following params, each of which is optional:'''<br/> * source_name * sou...")
 
Line 2: Line 2:
 
* source_name
 
* source_name
 
* source_URL (recommended!)
 
* source_URL (recommended!)
* source_details</noinclude><includeonly>{{#if: {{{source_URL|}}}{{{source_name|}}}{{{source_details|}}}<ref>{{#if: {{{source_URL|}}}|{{#if: {{{source_name|}}}|[{{{source_URL|}}} {{{source_name}}}]|{{{source_name|}}} {{{source_details|}}}</ref>}}</includeonly>
+
* source_details</noinclude><includeonly>{{#if: {{{source_URL|}}}{{{source_name|}}}{{{source_details|}}}|<ref>{{#if: {{{source_URL|}}}|{{#if: {{{source_name|}}}|[{{{source_URL|}}} {{{source_name}}}]|{{{source_name|}}}}}|{{{source_name|}}} {{{source_details|}}}}}</ref>|{{cn}}}}</includeonly>

Revision as of 17:32, 5 September 2016

This is used by Template:SMWQ. It makes a reference out of the following params, each of which is optional:

  • source_name
  • source_URL (recommended!)
  • source_details