v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Quality"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>{{Category|{{#switch:{{{1}}}|Tattered|Fine|Exceptional|Masterwork={{{1}}}|#default=Unknown}} Quality Articles|{{PAGENAME}}}}</includeonly>
 
<includeonly>{{Category|{{#switch:{{{1}}}|Tattered|Fine|Exceptional|Masterwork={{{1}}}|#default=Unknown}} Quality Articles|{{PAGENAME}}}}</includeonly>
 
<div style="right:10px;" class="topicon"><font style="font-size:75%">
 
<div style="right:10px;" class="topicon"><font style="font-size:75%">
[[DF:Quality#Tattered|<span id="stub-quality" style='{{#ifeq: {{{1}}} | Tattered | padding: 0.2em; border: 1px solid #ccc; background: #333333| text-decoration: none}}; color: #CCCCCC;'>xTATTEREDx</span>]]
+
[[DF:Quality#Tattered|<span id="stub-quality" style='{{#ifeq: {{{1}}} | Tattered | padding: 0.2em; border: 1px solid #333; background: #CCCCCC| text-decoration: none}}; color: #333333;'>xTATTEREDx</span>]]
 
{{dot}}
 
{{dot}}
 
[[DF:Quality#Fine|<span id="fine-quality" style='{{#ifeq: {{{1}}} | Fine | padding: 0.2em; border: 1px solid #db8; background: #FFE0CC | text-decoration: none}}; color: #CA7A02;'>+FINE+</span>]]
 
[[DF:Quality#Fine|<span id="fine-quality" style='{{#ifeq: {{{1}}} | Fine | padding: 0.2em; border: 1px solid #db8; background: #FFE0CC | text-decoration: none}}; color: #CA7A02;'>+FINE+</span>]]

Revision as of 15:27, 15 May 2010


Documentation


Description

See Dwarf Fortress Wiki:Quality

Rating timestamps can be either be updated with the rating script or by replacing the current timestamp with 5 tildes (~~~~~).

Note: this is a high-use template and rebuilding pages that use it can take a long time. Avoid making more edits than necessary (if possible), and allow time for cache regeneration. To rebuild a certain page, you can add ?action=purge after its URL or make a null edit to that page. Ideally, wait until server load is low -- you can check how many jobs are waiting to be processed here. If the number is high, you should wait until the server is less busy. (The server could currently be regenerating pages).

Usage

To mark an item "Fine":
{{Quality|Fine}}
To mark an item "Superior":
{{Quality|Superior}}

Feedback

It would be nice if a mere T, F, S, E, M, or U was sufficient as argument. :) Jerimee (talk) 21:05, 1 May 2023 (UTC)