Editing User:Optimatum/Sandbox
From Fallen London Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | {{Noembed|{{#set:Has Game Type=Quality}}}}<!-- | ||
+ | Link Guide & apply restriction banners when appropriate (checked from Guide page): | ||
+ | -->{{SMWBanners}}<!-- | ||
+ | Set icon: | ||
+ | -->{{#if:{{{Icon|Fox.png}}}|[[Has icon::File:{{{Icon|Fox.png}}}{{!}}right]]|[[Category:Qualities without Icon parameter]]}}<!-- | ||
+ | --><div class="floatright idbox" style="display: none;"><span>ID: </span><span style="{{#if:{{{ID|}}}||color:red;}}"><b>{{#if:{{{ID|}}}|{{{ID}}}|MISSING}}</b></span></div><!-- | ||
+ | Set some local variables: | ||
+ | -->{{#vardefine:quality|Persuasive}}<!-- | ||
+ | --><!-- | ||
+ | -->{{#vardefine:desc|{{{Description|Wit, charm, plausibility.}}}}}<!-- | ||
+ | -->{{#if: {{{Description|Wit, charm, plausibility.}}} |<p>{{{Description|Wit, charm, plausibility.}}}{{#seo:|description={{#var:desc}}}}</p>}}<!-- | ||
+ | -->{{#if: {{{Available At|Persuasive improves as you attempt Persuasive tasks - you can improve it faster by spending Confident Smiles at your Lodgings.}}} |<p><i>{{{Available At|Persuasive improves as you attempt Persuasive tasks - you can improve it faster by spending Confident Smiles at your Lodgings.}}}</i></p>}}<!-- | ||
+ | -->{{#if: {{{Game Instructions|example}}} |<p><b><i>Game Instructions: {{{Game Instructions|example}}}</i></b></p>}} | ||
+ | <br> | ||
+ | <!-- | ||
+ | ############## | ||
+ | Display access information (Fate, Legacy, etc) | ||
+ | |||
+ | ############## | ||
+ | --> | ||
+ | {{#if:{{{Access|{{{Fate|Fate}}}}}} | ||
+ | |<p>'''{{#switch:{{{Access|Fate}}} | ||
+ | |Fate = This quality is only available by spending {{FontFate}}. | ||
+ | |Legacy = This quality is currently only available by spending {{FontFate}}, but could be obtained for free in the past.[[Category:Fate]] | ||
+ | |Festival = This quality is only available during certain times of the year. | ||
+ | |Code = This quality can only be obtained from an Access Code. | ||
+ | |Developer = This quality has only ever been shown off by a Developer, and has never been obtainable in-game. | ||
+ | |Failbetter Games = This quality is only ever handed out by Failbetter Games, and has never been obtainable in-game. | ||
+ | |Location = This quality only exists in a specific location and cannot be possessed or used anywhere else. | ||
+ | |Retired = This quality can no longer be obtained.<!-- | ||
+ | -->{{#ifeq: {{#var:defsort}}|no||{{DEFAULTSORT:~|noerror}}}}<!-- | ||
+ | -->{{#if:{{#var:embedcontext}}||{{#set:Is retired=yes}}}}<!-- | ||
+ | -->[[Category:Retired|{{#titleparts:{{PAGENAME}}}}]][[Category:Retired Qualities|{{#titleparts:{{PAGENAME}}}}]] | ||
+ | }}''' {{#if:{{{Access info|t}}}|For details, see [[{{{Access info|test}}}]].{{#if:{{{Origin|t}}}|<br>It was originally introduced during [[{{{Origin}}}|{{#explode:{{{Origin}}}|#}}]].}}}}</p> | ||
+ | <nowiki />|}}<!-- | ||
+ | -->{{#if: {{{Wiki Note|This is your social skills and irresistible charm, allowing you to persuade, convince and charm denizen of Fallen London for your benefit. This is one of the four main Attributes.}}} | <p><span>{{Wiki Note|{{{Wiki Note|This is your social skills and irresistible charm, allowing you to persuade, convince and charm denizen of Fallen London for your benefit. This is one of the four main Attributes.}}}}}</span></p> }}<!-- | ||
+ | -->{{SetSMW/ID|ID={{{ID|}}}|else=[[Category:Qualities with Unknown ID]]}}<!-- | ||
+ | ############## | ||
+ | |||
+ | Sources and uses | ||
+ | |||
+ | ############## | ||
+ | -->{{#ifeq: {{{Raise|yes}}}|yes| | ||
+ | *Click here for '''{{Property category | ||
+ | |Object = {{#var:quality}} | ||
+ | |Property = Gains | ||
+ | |Description = Actions that raise | ||
+ | |Header = {{#if:{{{Icon|}}}|[[File:{{{Icon}}}|right]]}}Actions which raise '''[[{{#var:quality}}]]'''}}''' this quality | ||
+ | }}{{#ifeq: {{{Lower|yes}}}|yes| | ||
+ | *Click here for '''{{Property category | ||
+ | |Object = {{#var:quality}} | ||
+ | |Property = Loses | ||
+ | |Description = Actions that lower | ||
+ | |Header = {{#if:{{{Icon|}}}|[[File:{{{Icon}}}|right]]}}Actions which lower '''[[{{#var:quality}}]]'''}}''' this quality | ||
+ | }} | ||
+ | <br>{{Property listing | ||
+ | |Object = {{#var:quality}} | ||
+ | |Property = Use | ||
+ | |Record = Uses | ||
+ | |Extra = Use type | ||
+ | |Description = all pages which use or require this quality | ||
+ | |Header = {{#if:{{{Icon|}}}|[[File:{{{Icon}}}|right]]}}This page contains all '''uses''' of '''[[{{#var:quality}}]]''': | ||
+ | * Cards and storylets that unlock if you have it (or a specific level or range of it) | ||
+ | * Actions requiring it (or a specific level or range of it) | ||
+ | * Game text that varies when you have it (or a specific level or range of it) | ||
+ | * Numerical values (such as difficulty level or reward amounts) which vary based on your level of it | ||
+ | |When empty = This quality has no recorded '''uses'''.}} | ||
+ | {{Property listing | ||
+ | |Object = {{#var:quality}} | ||
+ | |Property = Against | ||
+ | |Record = Has challenge | ||
+ | |Extra = Difficulty | ||
+ | |Description = pages which have a challenge based on this quality | ||
+ | |Header = {{#if:{{{Icon|}}}|[[File:{{{Icon}}}|right]]}}This page lists all challenges against '''[[{{#var:quality}}]]''', and their default challenge level (if known).}} | ||
+ | {{#ifexpr:{{#ask:[[Has effect::{{#var:quality}}]]|format=count}}>0|<p><br><!-- | ||
+ | -->{{#ifexist:{{#var:quality}} Items|See [[{{#var:quality}} Items]] for items that modify this quality.<br>}}<!-- | ||
+ | -->{{#ifeq:{{{Attribute|yes}}}|yes|{{#ifexpr:{{#ask:[[Has effect::{{#var:quality}};<0]]|format=count}}>0|See [[Stat-reducing items#{{#var:quality}}|{{#var:quality}}-reducing Items]] for items that reduce this quality.}}<!-- | ||
+ | -->}}</p>}}<!-- | ||
+ | -->{{#if:{{{Has cap|yes}}}|<p><br><!-- | ||
+ | -->{{#ifeq:{{{Attribute|yes}}}|yes|<!-- | ||
+ | -->{{#if:{{{Cap Raise|yes}}}|The cap on this quality is raised by [[{{Noembed|Has cap raise::}}{{{Cap Raise|Persuasive Gains}}}]]. |}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{Has cap|yes}}}|It is impossible to raise this quality beyond the '''cap [[{{Noembed|Has cap::}}{{{Has cap}}}]]''' under any circumstance. Excess from actions raising the quality is wasted after hitting the cap!}}<!-- | ||
+ | --></p>}} | ||
+ | {{#if: {{{Unlocked with|<noinclude>test</noinclude>}}}| | ||
+ | == Unlocked with == | ||
+ | {{#invoke:Workarounds|seplist|{{{Unlocked with}}}}}<!-- | ||
+ | -->}} | ||
+ | {{#if: {{{Unlocks|<noinclude>test</noinclude>}}}| | ||
+ | == Unlocks == | ||
+ | {{#invoke:Workarounds|seplist|{{{Unlocks}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#ifeq:{{{Quality type}}}|World Qualities|[[Category:World Qualities using Quality Template]]|}}<!-- | ||
+ | -->{{#switch: {{NAMESPACE}}|Category|=[[Category:{{{Quality type|Qualities with Unknown Type}}}]]<!-- | ||
+ | -->{{#ifeq:{{{Discrete|}}}|yes|<!-- | ||
+ | -->{{Noembed|[[Category:Discrete Qualities]]{{#set:Increase Type=Discrete}}}}|<!-- | ||
+ | -->{{Noembed|[[Category:Pyramidal Qualities]]{{#set:Increase Type=Pyramidal}}}}<!-- | ||
+ | -->}}|<!-- | ||
+ | -->}}{{#ifeq: {{PAGESINCAT:{{#var:quality}} Sources}}|0||[[Category:Qualities with both Gain and Source Categories]]}}<!-- | ||
+ | end of template, check for errors | ||
+ | -->{{#invoke:check for unknown parameters|check | ||
+ | |unknown=[[Category:Template:Quality using unknown parameters|_VALUE_]] | ||
+ | |preview=<span class="error">_VALUE_ is not an recognized parameter. Check [[Template:Quality]] for all recognized parameters</span> | ||
+ | |Icon|Description|Description|Available At|Quality type|Game Instructions|Wiki Note|Discrete|Unlocked with|Unlocks|Raise|Attribute|Cap Raise|Lower|ID|Has cap|Access|Access info|Origin}}<!-- | ||
+ | set categories/documentation | ||
+ | --> |