Difference between revisions of "Template:News"

From Archives of Lusternian Lore
Jump to navigation Jump to search
(Created to make including Lusternia news links easier.)
 
(includeonly should have been onlyinclude)
Line 18: Line 18:




<includeonly>
<onlyinclude>
[https://www.lusternia.com/news/{{{board}}}/{{{post}}} {{{board}}} #{{{post}}}]
[https://www.lusternia.com/news/{{{board}}}/{{{post}}} {{{board}}} #{{{post}}}]
</includeonly>
</onlyinclude>

Revision as of 21:14, 13 March 2022

This template is for easily creating external links to the Lusternia news boards.

Using this template will make maintaining these links easier. Should the URL ever need changing, all news links can be fixed by altering this template.

Syntax

{{News|<board>|<post>}}

{{News|board = <board>|post = <post>}}

{{news|post = <post>|board = <board>}}

Parameters

<board> must be the name of a Lusternia news board. <post> must be the number of a post on the news board

Returns

This appears on the page as an external link of the form: <board> #<post>

Example

{{news|Events|488}} will look and function like Events #488


{{{board}}} #{{{post}}}