Difference between revisions of "Template:forum ref"

From Lord of the Craft
Jump to: navigation, search
m (We try again.)
m
Line 2: Line 2:
 
-->{{#if:{{{1|}}}|<!--
 
-->{{#if:{{{1|}}}|<!--
 
   --><ref name={{{1}}}><!--
 
   --><ref name={{{1}}}><!--
   -->[https://www.lordofthecraft.net/forums/topic/{{{1}}}--/ {{#if:{{{2|}}}|<!--
+
   -->[https://www.lordofthecraft.net/forums/topic/{{{1}}}--/ <wiki>{{#if:{{{2|}}}|<!--
 
     -->{{{2}}}|<!--
 
     -->{{{2}}}|<!--
     -->User failed to give a title|}}]<!--
+
     -->User failed to give a title}}</wiki>]<!--
 
   --></ref>|<!--
 
   --></ref>|<!--
   --><span style='color: red'>BROKEN REFERENCE</span>|}}<!--
+
   --><span style='color: red'>BROKEN REFERENCE</span>}}<!--
 
--></includeonly>
 
--></includeonly>
 
<noinclude>[[Category:Template]]
 
<noinclude>[[Category:Template]]

Revision as of 15:17, 28 August 2021

Template works as follows:

{{forum ref|[post id]|[post title]}} in which the ID must be given, and the post title should be given.