Template:News: Difference between revisions

From TwogPedia
No edit summary
No edit summary
Tag: Manual revert
 
(20 intermediate revisions by the same user not shown)
Line 45: Line 45:
)
)
|content=Text}}
|content=Text}}
</noinclude><includeonly>{{DISPLAYTITLE: {{{seo_title|}}} }}{{#if: {{{stub|}}} | {{Stub|type=News|comment={{{stub}}} }} }}{{#cargo_store:_table=News
</noinclude>
 
<includeonly>
 
{{DISPLAYTITLE: {{{seo_title|}}} }}
 
{{#if: {{{stub|}}} | {{Stub|type=News|comment={{{stub}}} }} }}
 
{{#cargo_store:_table=News
|image={{{image|}}}
|image={{{image|}}}
|image_alt={{{alt|}}}
|image_alt={{{alt|}}}
Line 55: Line 63:
|game={{{game|}}}
|game={{{game|}}}
|content={{{content|}}}
|content={{{content|}}}
}}
{{#vardefine:seoDesc|
{{#if: {{{seo_description|}}}
  | {{{seo_description}}}
  | {{#stripnewline:{{#sub: {{{content|}}} |0|160 }} }}
}}
}}
}}


{{#seo:
{{#seo:
|title={{{seo_title|}}}
|title={{{seo_title|}}}
|description={{#var:seoDesc}}
|description={{#invoke:TruncDesc|generate|content={{{content|}}}|seo_description={{{seo_description|}}}}}
|keywords={{{seo_keywords|}}}
|keywords={{{seo_keywords|}}}
|image={{{image|}}}
|image={{{image|}}}
Line 79: Line 80:
|content={{{content|}}}
|content={{{content|}}}
}}
}}
{{NewsNav}}
{{NewsNav}}
<div class="news__grid">
<div class="news__grid">

Latest revision as of 08:34, 16 January 2026

News Icon

News

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