Template:News: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 80: Line 80:
'''Sources: ''' {{#arraymap: {{{sources|}}}|,|x|x|\s }} }}
'''Sources: ''' {{#arraymap: {{{sources|}}}|,|x|x|\s }} }}


'''Categories:''' <ul class="catlinks" style="display: inline-flex; flex-wrap: wrap; margin: var(--space-xs) 0 0 0; font-size: 0.8125rem; gap: var(--space-xs); letter-spacing: 0;">
<div>
<b>Categories:</b><ul class="catlinks" style="display: inline-flex; flex-wrap: wrap; margin: var(--space-xs) 0 0 0; font-size: 0.8125rem; gap: var(--space-xs); letter-spacing: 0;">
{{#arraymap: {{{category|}}}|,|x|<li style="">[[News/x|x]]</li>|\s }}
{{#arraymap: {{{category|}}}|,|x|<li style="">[[News/x|x]]</li>|\s }}
</ul>
</ul>
</div>
[[Category:News]]
[[Category:News]]
</includeonly>
</includeonly>

Revision as of 20:08, 14 June 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.