Difference between revisions of "Template:News"

Jump to navigation Jump to search
(Added # back in, but only displays if post is supplied. Added currently valid boards to the doc. Made blank defaults, which enabled new syntax. Added comment about where to find the template code itself.)
m (Fixing the mistake I made when I added the comment.)
Line 25: Line 25:
#<code><nowiki>{{news}}</nowiki></code> will go to a page displaying the news boards and will appear as an auto-numbered, anonymous link: <onlyinclude>[https://www.lusternia.com/news/{{{1|}}}/{{{2|}}} {{{1|}}} {{#if:#{{{2|}}} }}]</onlyinclude>
#<code><nowiki>{{news}}</nowiki></code> will go to a page displaying the news boards and will appear as an auto-numbered, anonymous link: <onlyinclude>[https://www.lusternia.com/news/{{{1|}}}/{{{2|}}} {{{1|}}} {{#if:#{{{2|}}} }}]</onlyinclude>
<!-- The part between the <onlyinclude> tags in Example 3 is where all the actual template code happens. -->
<!-- The part between the <onlyinclude></onlyinclude> tags in Example 3 is where all the actual template code happens. -->


[[Category: Templates]]
[[Category: Templates]]