Template:News: Difference between revisions

Template page
No edit summary
No edit summary
Line 76: Line 76:
<div style="clear: both;"></div>
<div style="clear: both;"></div>
'''Tags'''
'''Tags'''
{{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/Tag?name={{urlencode: x}} x]</span>|\s }}
{{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/Tag?name={{urlencode: x}} x]</span>|\s }}


{{#if: {{{sources|}}} |{{#arraymap: {{{sources|}}}|,|x|x|\s }} }}
{{#if: {{{sources|}}} |
'''Sources: ''' {{#arraymap: {{{sources|}}}|,|x|x|\s }} }}
{{#arraymap: {{{category|}}}|,|x|[[Category:x]]|\s }}
{{#arraymap: {{{category|}}}|,|x|[[Category:x]]|\s }}
[[Category:News]]
[[Category:News]]
</includeonly>
</includeonly>

Revision as of 16:36, 10 May 2023

This is the "News" template.

It should be called in the following format:

{{News
|seo_title=
|seo_keywords=
|seo_description=
|tags=
|image=
|targets=
|date=
|sources=
|category=
|game=
|content=
|author=
}}

Edit the page to see the template text.

This template defines the table "News". View table.