Difference between revisions of "Template:News"
Jump to navigation
Jump to search
imported>Elaeagnifolia (Created page with "<noinclude>{{doc}}Category:Templates<!-- // Declaring Cargo Table -->{{#cargo_declare: _table=News |Title=String |Important=Boolean |Date=Date |Link=String }}</noinclude>...") |
>Mornsta-gpuser |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
|Important=Boolean | |Important=Boolean | ||
|Date=Date | |Date=Date | ||
| − | |Link= | + | |Link=URL |
}}</noinclude><includeonly><!-- | }}</noinclude><includeonly><!-- | ||
// Storing values to Cargo Table | // Storing values to Cargo Table | ||
| − | -->{{#ifeq: {{ | + | -->{{#ifeq:{{PAGENAME}}|Notices|{{#cargo_store: |
_table=News | _table=News | ||
|Title={{{title|}}} | |Title={{{title|}}} | ||
|Important={{{important|No}}} | |Important={{{important|No}}} | ||
| − | |Date={{{date|}}} | + | |Date={{#time:F d, Y|{{{date|}}}}} |
|Link={{{link|}}} | |Link={{{link|}}} | ||
}} | }} | ||
| Line 21: | Line 21: | ||
// Template Display Content | // Template Display Content | ||
| − | -->'''[{{{date|}}}]''' [{{{link|}}} {{{title|}}}]</includeonly> | + | -->'''[{{#time:F d, Y|{{{date|}}}}}]''' [{{{link|}}} {{{title|}}}]</includeonly> |
Latest revision as of 06:27, 6 January 2019
Parameters
- Date= Date of release as in the Official Website
- Example:
August 30, 2018
- Example:
- Title= Title as in the Official Website
- Example:
The Official English Site is Now Open!
- Example:
- Link= The direct link to the news page on th Official Website
- Example:
https://dragalialost.com/en/news/information/271
- Example:
Example
{{News|Date=August 30, 2018|Title=The Official English Site is Now Open!|Link=https://dragalialost.com/en/news/information/271}}
Blank Template
{{News|Date=|Title=|Link=}}
This template defines the table "News". This table has not been created yet.