Template:News: Difference between revisions

Template page
No edit summary
No edit summary
Line 58: Line 58:
)
)
|content=Text}}
|content=Text}}
</noinclude><includeonly>
</noinclude><includeonly>{{DISPLAYTITLE: {{{seo_title|}}} }}{{#cargo_store:_table=News}}{{#seo:
{{DISPLAYTITLE: {{{seo_title|}}} }}
{{#cargo_store:_table=News}}
{{#seo:
|title={{{seo_title|}}}
|title={{{seo_title|}}}
|description={{{seo_description|}}}
|description={{{seo_description|}}}
Line 71: Line 68:


{{#if: {{{image|}}} | [[File:{{{image|}}}|500x200px]] }}
{{#if: {{{image|}}} | [[File:{{{image|}}}|500x200px]] }}
{{#if: {{{image|}}} | {{FileDescription|{{{image|}}}}} }}
{{#if: {{{image|}}} | {{FileDescription|{{{image|}}}}} }}


Line 76: Line 74:


=== Tags ===
=== Tags ===
{{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/Tag?name=x x]</span>|\s }}
{{#arraymap: {{{tags|}}}|,|x|<span class="plainlinks">[{{SERVER}}/Tag?name={{urlencode: x}} x]</span>|\s }}


{{#if: {{{sources|}}} |== Sources ==
{{#if: {{{sources|}}} |== Sources ==

Revision as of 22:33, 9 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.