Difference between revisions of "Template:Buzz-card"
Idassystem50 (talk | contribs) |
|||
Line 11: | Line 11: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
+ | { | ||
+ | "status": 200, | ||
+ | "details": { | ||
+ | "error": "SERVER_ERROR_PEER_OFFLINE", | ||
+ | "status": "failed" | ||
+ | } | ||
+ | } |
Revision as of 22:14, 24 October 2022
Contents
Description
The template Buzz-card
are used to set up individual blocks of information in the main page's Buzz section. It was introduced to make the page code neater, as well as to facilitate the design change: it is enough to change the template itself once and all the cards change, so it is not needed to edit each card separately.
Code
{{Buzz-card | title = | img = | wiki = | link = | text = }}
Option
-
title
- Card title -
img
- Name of image in the format:File:filename.extension
-
wiki
- Link to internal wiki article -
link
- Link to outside wiki page -
text
- Text description
There should only be either a wiki
or link
in the box, not both.
Examples
Code:
{{Buzz-card | title = Fleet | img = File:Img ship.png | wiki = Fleet | text = Fleet — Witness the release and activation of the naval tree in the War Thunder Wiki! }}
Generated card:
{
"status": 200, "details": { "error": "SERVER_ERROR_PEER_OFFLINE", "status": "failed" }
}