Difference between revisions of "Template:News"

No change in size ,  00:26, 10 July 2022
m
→‎Example: If I'm right, this will cause the template to work correctly on other pages, but not display at the bottom of this one.
m (Attempting to fix a problem that only arises in bulleted lists)
m (→‎Example: If I'm right, this will cause the template to work correctly on other pages, but not display at the bottom of this one.)
Line 19: Line 19:
<code><nowiki>{{news|Events|488}}</nowiki></code> will go to Events 488 and look like: [https://www.lusternia.com/news/events/488/ Events #488]
<code><nowiki>{{news|Events|488}}</nowiki></code> will go to Events 488 and look like: [https://www.lusternia.com/news/events/488/ Events #488]


<!-- Between the onlyinclude tags is where the actual template code happens. -->
<!-- Between the includeonly tags is where the actual template code happens. -->
<onlyinclude>[https://www.lusternia.com/news/{{{1}}}/{{{2}}} {{{1}}} #{{{2}}}]</onlyinclude>
<includeonly>[https://www.lusternia.com/news/{{{1}}}/{{{2}}} {{{1}}} #{{{2}}}]</includeonly>


[[Category: Templates]]
[[Category: Templates]]
2,562

edits