Template:Modes

From Thorium Mod Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Modes/doc. (edit | history)

Shortcut for Normal/Expert/Master seperation, used in {{npc infobox}}.

{{modes|<normal>|<expert>|<master>}} (Basic, will wrap expert/master values with {{expert}} and {{master}})

{{modes|wrap=no|<normal>|<expert>|<master>}} (Don't wrap expert/master values with {{expert}} and {{master}})

{{modes|expertonly=yes|<expert>|<master>}} (Expert only, no normal value.)

{{modes|expertonly=yes|<normal>|<expert>|<master>}} (Expert only, it also can takes 3 input values,and will ignore normal value.)

{{modes|normal=<normal>|expert=<expert>|master=<master>}} (Named parameter)

{{modes|expertonly=y|expert=<expert>|master=<master>}} (Named parameter is recommended with |expertonly=y)