No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|seo_description(label=SEO Description) | |seo_description(label=SEO Description) | ||
|tags(label=Tags) | |tags(label=Tags) | ||
|image(label=Image;namespace=File) | |image(label=Image;namespace=File) | ||
|targets (label=Targets) | |targets (label=Targets) | ||
Line 21: | Line 20: | ||
|tags=List (,) of String | |tags=List (,) of String | ||
|author = Page | |author = Page | ||
|image=File | |image=File | ||
|targets=List (,) of Page | |targets=List (,) of Page | ||
Line 64: | Line 62: | ||
{{#cargo_store:_table=News}} | {{#cargo_store:_table=News}} | ||
{{#seo: | {{#seo: | ||
|title= | |title={{{seo_title|}}} | ||
|description= | |description={{{seo_description|}}} | ||
| | |keywords={{{seo_keywords|}}} | ||
|image={{{image|}}} | |||
|image_alt={{{alt|}}} | |||
}} | }} | ||
[[{{{author|}}}]] {{#time: d F Y H:i | {{{date|}}} }} | [[{{{author|}}}]] {{#time: d F Y H:i | {{{date|}}} }} | ||
Line 80: | Line 80: | ||
{{#if {{{sources|}}} | {{#if {{{sources|}}} | ||
== Sources == | == Sources == | ||
{{#arraymap: {{{sources|}}}|,|x|[[x]]|\s }} | {{#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 22:49, 8 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.