Difference between revisions of "Template:forum ref"

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

Revision as of 15:28, 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.