Teamplaid:Resbox/documentation
This is a documentation subpage for Teamplaid:Resbox. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Adhbhar - Purpose
[deasaich]This is a wrapper template, to convert any of the large family of inline, comment-level templates, used for annotating process or discussion resolutions, into a bordered, discussion hatnote template of the {{Resolved}} style. The inline templates are most often used at the beginning of a reply, while the hatnotes are used immediately below the discussion heading. This wrapper permits the many more specific messages available at the inline level to be used at the thread level, where only a few such templates have been heretofore been available. The wrapper obviates the need to permanently duplicate any more of the inline ones as essentially redundant hatnote variants.
Ùsaid - Usage
[deasaich]Simplest (no parameters)
[deasaich]{{Resbox}}
defaults to the "Resolved" template:
- Resolved
Basic
[deasaich]The first parameter is (usually) a template
{{Resbox|{{Fixed}}}}
produces:
- Fixed
You can even leave off the {{...}}
around the inline template, as long as you don't need to feed the inline template any parameters:
{{Resbox|Fixed}}
produces:
- Fixed
This parameter is also named |text=
for backward compatibility with the parameter that changes the wording of {{Resolved}}, e.g. {{resolved|text=Fixed}}:
{{Resbox|text=Fixed}}
produces:
- Fixed
Arbitrary
[deasaich]If the text supplied doesn't match a template name, then it's simply turned into a comment in the box, with no icon:
{{Resbox|I have no idea what to do, and have given up}}
produces:
- I have no idea what to do, and have given up
With inline template's parameters
[deasaich]{{Resbox|{{Deferred|''after RfC concludes''.}}}}
produces:
- Deferred to after RfC concludes.
Use |1=
if it fails because of an embedded =
character:
{{Resbox|{{Deferred|1=''after RfC concludes'' (= 17 June).}}}}
produces:
- Deferred to after RfC concludes (= 17 June).
With its own outside-the-box comment text
[deasaich]{{Resbox|Fixed|I corrected that yesterday.}}
produces:
- Fixed: I corrected that yesterday.
and:
{{Resbox|{{Deferred|after RfC concludes}}|Closure expected by January 20.}}
produces:
- Deferred to after RfC concludes: Closure expected by January 20.
Parameter may be explicitly named as |2=
or |reason=
if it breaks due to an =
in the text:
{{Resbox|Wontfix|reason=A feature someone doesn't like != a bug.}}
produces:
- Cha chàiridh: A feature someone doesn't like != a bug.
Technically it can be used with other inline templates
[deasaich]{{Resbox|talkfact}}
produces:
- talkfact
and
- {{resbox|Executed|You're killin' me!}}
produces:
- Executed: You're killin' me!
Faic cuideachd - Also see
Inline icon templates
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Inline icon templates by shape and color[deasaich]Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.
Eile - Others[deasaich]
Multi-sign templates[deasaich]The following templates implement several icons:
Others[deasaich]
|