Difference between revisions of "Template:forum ref"

From Lord of the Craft
Jump to: navigation, search
m (Hopefully fixed ref)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 
-->{{#if:{{{1|}}}|<!--
 
-->{{#if:{{{1|}}}|<!--
   --><ref name={{{1}}}><!--
+
   -->{{#tag:ref|<!--
 
   -->[https://www.lordofthecraft.net/forums/topic/{{{1}}}--/ {{#if:{{{2|}}}|<!--
 
   -->[https://www.lordofthecraft.net/forums/topic/{{{1}}}--/ {{#if:{{{2|}}}|<!--
 
     -->{{{2}}}|<!--
 
     -->{{{2}}}|<!--
 
     -->User failed to give a title}}]<!--
 
     -->User failed to give a title}}]<!--
   --></ref>|<!--
+
   -->|name={{{1}}}forum}}|<!--
 
   --><span style='color: red'>BROKEN REFERENCE</span>}}<!--
 
   --><span style='color: red'>BROKEN REFERENCE</span>}}<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 15:30, 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.