Difference between revisions of "Template:Qualitycheck"

From Team Fortress Wiki
Jump to: navigation, search
m
(Translated to /no)
 
Line 8: Line 8:
 
   | fi = Ei ole olemassa {{item name|{{{1}}}}}
 
   | fi = Ei ole olemassa {{item name|{{{1}}}}}
 
   | nl = Kan niet bestaan in {{item name|{{{1}}}}} kwaliteit
 
   | nl = Kan niet bestaan in {{item name|{{{1}}}}} kwaliteit
 +
  | no = Kan ikke finnes i {{item name|{{{1}}}}} kvalitet
 
   | pl = Nie może istnieć w jakości {{item name|{{{1}}}}}
 
   | pl = Nie może istnieć w jakości {{item name|{{{1}}}}}
 
   | pt-br = Não pode existir em qualidade {{item name|{{{1}}}}}
 
   | pt-br = Não pode existir em qualidade {{item name|{{{1}}}}}
Line 22: Line 23:
 
   | fr = {{#if: {{{origin|}}} | Peut être obtenu en qualité {{item name|{{{1}}}}} via {{{origin}}} | Peut être obtenu en qualité {{item name|{{{1}}}}} }}
 
   | fr = {{#if: {{{origin|}}} | Peut être obtenu en qualité {{item name|{{{1}}}}} via {{{origin}}} | Peut être obtenu en qualité {{item name|{{{1}}}}} }}
 
   | nl = {{#if: {{{origin|}}} | Kan bestaan in {{item name|{{{1}}}}} kwaliteit via {{{origin}}} | Kan bestaan in {{item name|{{{1}}}}} kwaliteit }}
 
   | nl = {{#if: {{{origin|}}} | Kan bestaan in {{item name|{{{1}}}}} kwaliteit via {{{origin}}} | Kan bestaan in {{item name|{{{1}}}}} kwaliteit }}
 +
  | no = {{#if: {{{origin|}}} | Kan finnes i {{item name|{{{1}}}}} kvalitet ved hjelp av {{{origin}}} | Kan finnes i {{item name|{{{1}}}}} kvalitet }}
 
   | pt-br = {{#if: {{{origin|}}} | Pode existir em qualidade {{item name|{{{1}}}}} via {{{origin}}} | Pode existir em qualidade {{item name|{{{1}}}}} }}
 
   | pt-br = {{#if: {{{origin|}}} | Pode existir em qualidade {{item name|{{{1}}}}} via {{{origin}}} | Pode existir em qualidade {{item name|{{{1}}}}} }}
 
   | pl = {{#if: {{{origin|}}} | Może istnieć w jakości {{item name|{{{1}}}}} poprzez {{{origin}}} | Może istnieć w jakości {{item name|{{{1}}}}} }}
 
   | pl = {{#if: {{{origin|}}} | Może istnieć w jakości {{item name|{{{1}}}}} poprzez {{{origin}}} | Może istnieć w jakości {{item name|{{{1}}}}} }}

Latest revision as of 15:28, 1 May 2019

Template documentation [view] [edit] [history] [purge]

Summary

{{QuAD}} is used to display the Quality Availability Database. In other words, it will list the ways to get an item in a given quality. This particular template is a wrapper for {{Dictionary/quad}}, the Database.

Entries in this dictionary call {{QuAD/list}} to order the Availability in a fixed order, and passes them as sequentially numbered parameters to {{QuAD/list/core}}. QuAD/list/core adds punctuation (commas and ampersands) and the result is a nicely readable string. This also makes use of {{QuAD/comma}}, {{QuAD/ampersand}}, {{QuAD/p}}, and {{QuAD/series}}.

{{Qualitycheck}} is called with a Quality, and it will format the availability list for the relevant template (such as {{Wqc}} or the qualities section in {{Item infobox}}).

{{Wqc/table/core}} (header/footer), {{Cqc/table/core}} (header/footer/brace), or {{Quality list}} call Qualitycheck (or do the formatting themselves) for all the available qualities.

Usage

When new items are added that need qualities, edit the Database, {{Dictionary/quad}}.

When new availability types are added/needed, edit the Availability, {{QuAD/list}}.

If there is an item with more than 20 availabilities, update {{QuAD/list/core}}.

If there are new qualities, edit the Quality lists, {{Wqc/table/core}}, {{Cqc/table/core}}, or {{Quality list}}.