Difference between revisions of "Template:Family-card"

From War Thunder Wiki
Jump to: navigation, search
(Created)
 
m (Spacing)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="buzz">{{#if:{{{wiki|}}}|[[{{{wiki}}}|&nbsp;]]}}{{#if:{{{link|}}}|[{{{link}}} &nbsp;]}}
<div class="buzz">{{#if:{{{wiki|}}}|[[{{{wiki}}}|&nbsp;]]}}{{#if:{{{link|}}}|[{{{link}}} &nbsp;]}}
 
 
{|
 
{|
 
!colspan="2"|<span style="color:#546e7a;font-size:18px;font-weight:normal;float:left;">{{{title}}}</span>
 
!colspan="2"|<span style="color:#546e7a;font-size:18px;font-weight:normal;float:left;">{{{title}}}</span>

Revision as of 20:15, 21 November 2021

Description

This template inserts a card displaying an image, a link to a vehicle page and a text description. This template is built for family pages.

Parameters

  • title - Displays a text in the top left corner of the card.
  • img - Displays a picture from an image file from the wiki, it must be entered as a link to a wiki file: File:XXX.jpg/png
  • wiki - Links to a vehicle page from the wiki
  • text - Displays a text in the right half of the card.

The manual parameters must be added by the Wiki user.

Examples of use

 
P-51
P-51-Miss-America-FP.png

The first order of Mustangs to the British were designated Mustang Mk I. The RAF received these aircraft behind schedule in October of 1941. Problems showed up immediately including the Allison power-plant and other design flaws. It is also important to note the Mustang Mk I's armament consisting of four .30 cal machine guns mounted in the wings, as well as a set of two .50 cal mounted in the wings and two .50 cal machine guns mounted in the nose. Click here to read more

{{Family-card
|title = P-51
|img = File:P-51-Miss-America-FP.png
|wiki = P-51
|text = The first order of Mustangs to the British were designated Mustang Mk I. The RAF received these aircraft behind schedule in October of 1941. Problems showed up immediately including the Allison power-plant and other design flaws. It is also important to note the Mustang Mk I's armament consisting of four .30 cal machine guns mounted in the wings, as well as a set of two .50 cal mounted in the wings and two .50 cal machine guns mounted in the nose.
[[P-51#History|Click here to read more]]
}}