Template:News

From Archives of Lusternian Lore
Revision as of 22:38, 13 March 2022 by Hinic (talk | contribs) (Fixing the mistake I made when I added the comment.)
Jump to navigation Jump to search

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>|<post>}}

{{news|<board>}}

{{news}}

Parameters

NOTE: parameters must be in order

<board> must be the name of a non-faction Lusternia news board: Public|Announce|Politics|Events|Overhaul
<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>

Examples

  1. {{news|Events|488}} will go to Events 488 and look like: Events #488
  2. {{news|Announce}} will go to a page displaying the 40 most recent Announce posts and look like: Announce
  3. {{news}} will go to a page displaying the news boards and will appear as an auto-numbered, anonymous link: [1]