Template:Latest news item
From GTA BOOM Wiki
It is one of the most important templates of the wiki. It outputs the article thumb with a link, excerpt (if any) and authoring info.
Parameter | Description | Type | Status | |
---|---|---|---|---|
News | News | no description | Unknown | optional |
Excerpt | Excerpt | A brief teaser text that accompanies the link to the article. | Unbalanced wikitext | optional |
Author (main) | Author | A username of a principal author of the article.
| Page name | optional |
Suppress avatar | suppress avatar | If set to "1", hides author's avatar. | Boolean | optional |
Date published | Date published | The date when the original revision of a page had been published. | Date | optional |
As the template is used heavily across the wiki, it is coded as a Lua module Module:GTAthumb." It is designed to be called from another template to style query results in a serialized manner.
However, in theory, it can be used for printing a single thumb. The simplest usage is shown below.
- Example
{{Latest news item |News=gta-sequel-confirmed-rockstar-games }}
- Result
You can play with parameters to achieve the desired view.
- Example
{{Latest news item |News=gta-sequel-confirmed-rockstar-games |Author=AronGerencser |suppress avatar=1 }}
- Result