From The DarkMod Wiki
Revision as of 11:08, 9 November 2012 by Tels (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


This template adds a colored table cell with some text. The two variants "yes" and "no" use red and green and "Y" and "N" as text.

 !A Special Delivery

Here is how that looks:

A Special Delivery Yes No Template:I18N-ny


This template takes the following parameters:

Name Example Description
text {{i18n-yn|text=Yes}} Optional. The text to display. If omitted, "Y" is shown.
bg {{i18n-yn|bg=#404040|text=Warning!}} Optional. The background color. If omitted, #20d020 (green) is used
fg {{i18n-yn|fg=#ff3030|text=Warning!}} Optional. The foreground (or text) color. If omitted, #f0f0f0 (off-white) is used.