Template:Website Reference: Difference between revisions

From One Nation Under Jou
Jump to navigation Jump to search
No edit summary
(generalization (template code on top))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#tag:ref
|<small>[{{{link}}} {{{title|{{{link}}}}}}]</small>
|name={{{title}}}
}}</includeonly><noinclude>
== Parameters ==
== Parameters ==
# Link (required, URL of the webpage)
# Link (required, URL of the webpage)
# Title (optional, title of the webpage or article)
# Title (optional, title of the webpage or article)
<pre>
<nowiki>{{Website Reference|link=|title=}}</nowiki>
</pre>


== Example ==
== Example ==


<p style="font-family:'Consolas'"><nowiki>{{Website Reference|link=https://www.swcombine.com/community/simnews/index.php?display=2&postID=23075|title=Dirty Pixel Forgiveness and You}}</nowiki></p>
<p style="font-family:'Consolas'"><nowiki>{{Website Reference|link=https://www.swcombine.com/community/news/display.php?postID=45523|title=Long May She Reign}}</nowiki></p>


This will result in:
When added to a string of text this will result in:


"Galia Winters changed an art rule regarding 'dirty pixels' on Year 22 Day 238."{{Website Reference|link=https://www.swcombine.com/community/simnews/index.php?display=2&postID=23075|title=Dirty Pixel Forgiveness and You}}
"Lilith Delcroix was crowned the monarch of One Nation on Year 21 Day 308."{{Website Reference|link=https://www.swcombine.com/community/news/display.php?postID=45523|title=Long May She Reign}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
<includeonly>{{#tag:ref
|<small>[{{{link}}} {{{title|{{{link}}}}}}]</small>
|name={{{title}}}
}}</includeonly>

Latest revision as of 17:28, 18 August 2021

Parameters

  1. Link (required, URL of the webpage)
  2. Title (optional, title of the webpage or article)
{{Website Reference|link=|title=}}

Example

{{Website Reference|link=https://www.swcombine.com/community/news/display.php?postID=45523|title=Long May She Reign}}

When added to a string of text this will result in:

"Lilith Delcroix was crowned the monarch of One Nation on Year 21 Day 308."[1]