Template:QuestIdea: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
fix formatting
imported>AntumDeluge
Add parameter for notes
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
<blockquote></noinclude>
<blockquote></noinclude>
|-
|-
| {{{1|}}} || {{{2|}}} || {{#if: {{{3|}}} | {{status|assigned|{{{3|}}}}} | {{status|unassigned}} }} || {{#ifeq: {{{4|}}} | done | {{status|done}} | {{{4|}}} }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{{6|}}} }}<noinclude>
| {{#if: {{{1|}}} | [[Stendhal Quest Ideas/{{{1|}}}|{{{1|}}}]] }} || {{#ifeq: {{{2|}}} | yes | {{status|ok|yes}} | {{#ifeq: {{{2|}}} | no | {{status|nok|no}} | {{#if: {{{2|}}} | {{{2|}}} | {{status||pending}} }}}}}} || {{#if: {{{3|}}} | {{status|assigned|{{{3|}}}}} | {{status|unassigned}} }} || {{#ifeq: {{{4|}}} | done | {{status|done}} | {{status||{{{4|}}}}} }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{status||{{{6|}}}}} }} || {{{7|}}}<noinclude>
</blockquote>
</blockquote>


Line 14: Line 14:
== Usage ==
== Usage ==


* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{QuestIdea|name|description|[writer assigned]|[written status]|[coder assigned]|[coded status]}}</nowiki><span>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{QuestIdea|name|approved|[writer assigned]|[written status]|[coder assigned]|[coded status]|[notes]}}</nowiki><span>


=== Parameters ===
=== Parameters ===
Line 24: Line 24:
| name || {{status|check}} || Name of quest.
| name || {{status|check}} || Name of quest.
|-
|-
| approved || || Whether quest has been approved or denied for implementation by development team.
| description || {{status|check}} || Information about quest.
|-
|-
| writer assigned || || Person assigned to writing details (dialogue, steps, etc.).
| writer assigned || || Person assigned to writing details (dialogue, steps, etc.).
Line 33: Line 33:
|-
|-
| coded status || || Current state of coding (e.g. "done").
| coded status || || Current state of coding (e.g. "done").
|-
| notes || || Self-descriptive.
|}
|}
</blockquote>
</blockquote>

== Examples ==

=== Formatted within Table ===

<p style="font-weight:bold;">Output:</p>

{| class="wikitable"
! Name !! Approved !! Assigned Writer !! Written Status !! Assigned Coder !! Coded Status !! Notes
{{{{PAGENAME}}|Foo Quest|||||}}
{{{{PAGENAME}}|Bar Quest|yes|AntumDeluge|done|AntumDeluge|done}}
{{{{PAGENAME}}|Baz Quest|no|||||No way! We aren't adding this quest.}}
|}


== See Also ==
== See Also ==

Latest revision as of 18:02, 11 December 2021

Template Output

|- | || style="text-align:center;"| pending || style="text-align:center;background-color:#ff0000;"| || style="text-align:center;"| || style="text-align:center;background-color:#ff0000;"| || style="text-align:center;"| ||

Description

Template:QuestIdea

This template is for listing quest ideas. Each call to it should be inside a properly formatted wikitable.

Usage

  • {{QuestIdea|name|approved|[writer assigned]|[written status]|[coder assigned]|[coded status]|[notes]}}

Parameters

Name Required Description
name Name of quest.
approved Whether quest has been approved or denied for implementation by development team.
writer assigned Person assigned to writing details (dialogue, steps, etc.).
written status Current state of writing (e.g. "done").
coder assigned Person assigned to implemented quest into code.
coded status Current state of coding (e.g. "done").
notes Self-descriptive.

Examples

Formatted within Table

Output:

Name Approved Assigned Writer Written Status Assigned Coder Coded Status Notes
Foo Quest pending
Bar Quest yes AntumDeluge done ✓ AntumDeluge done ✓
Baz Quest no No way! We aren't adding this quest.

See Also