Template:Verbinfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
(updated code for verbinfo, simplified. Additional updates to style guide page and form to come.)
Line 1: Line 1:
{| align="right" style="width: 22em; margin: 10px 1px 10px 10px; clear:both; background:#FFF;" cellpadding="0" cellspacing="0"
<onlyinclude>{| class="wikitable" align="right" style="width: 22em; margin: 10px 1px 10px 10px; clear:both;" cellpadding="0" cellspacing="0"
| align = center |
| align = right |
{| style="border: 2px #aaa solid; width: 100%; font-size: 95%; text-align: left;"
{| style="border: 2px #aaa solid; width: 100%;"
! colspan=2 style="white-space: nowrap; background:#00004C; color: white; font-size: larger; text-align: center;" | {{{verb}}}
! colspan=2 scope="colheader" style="white-space: nowrap; background:#00004C; color: white; font-size: larger; text-align: center;" | <big>{{{verb}}}</big>
|-
|-
! align="left" valign="top" scope="rowheader" | Type
{{#if: {{{type|}}} | <!-- Indicate Roleplaying, System, or Special Case -->
! valign="top" {{!}} Type
| align="right" valign="top" | {{#arraymap:{{{type|}}}|,|x|[[Verb type::x]] |,<nowiki> </nowiki>}}
|-
{{!}} align="right" valign="top" {{!}} [[Verb type::{{{type|}}}]] {{#if: {{{type2|}}} |
<br> [[Verb type::{{{type2|}}}]] |}} {{#if: {{{type3|}}} |
{{#if: {{{demeanor|}}} | {{#switch: {{{demeanor|}}} |
Yes=! align="left" valign="top" scope="rowheader" {{!}} Demeanor-based
<br> [[Verb type::{{{type3|}}}]] |}}
{{!}} align="right" valign="top" {{!}} [[Has demeanor interactions::Yes]] |}}
{{!}}-
|}} <!-- The following are for Roleplaying specific verbs -->
{{#if: {{{demeanor|}}} |
! valign="top" {{!}} Demeanor-based
{{!}} align="right" valign="top" {{!}} [[Has demeanor interactions::{{{demeanor|}}}]]
{{!}}-
{{!}}-
|}}
|}}
{{#if: {{{wedding|}}} |
{{#if: {{{wedding|}}} | {{#switch: {{{wedding|}}} |
! valign="top" {{!}} Wedding
Yes=! align="left" valign="top" scope="rowheader" {{!}} Wedding
{{!}} align="right" valign="top" {{!}} [[Has wedding interactions::{{{wedding|}}}]]
{{!}} align="right" valign="top" {{!}} [[Has wedding interactions::{{{wedding|}}}]] |}}
{{!}}-
{{!}}-
|}}
|}}
{{#if: {{{citizen|}}} | <!-- Up to 3 entries can be made to indicate if a verb has citizenship versions -->
{{#if: {{{citizen|}}} |
! valign="top" {{!}} Citizen
! align="left" valign="top" scope="rowheader" {{!}} Citizen
{{!}} align="right" valign="top" {{!}} [[Has citizen style::{{{citizen|}}}]] {{#if: {{{citizen2|}}} |
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{citizen|}}}|,|x|[[Has citizen style::x]] |,<nowiki> </nowiki>}}
<br> [[Has citizen style::{{{citizen2|}}}]] |}} {{#if: {{{citizen3|}}} |
<br> [[Has citizen style::{{{citizen3|}}}]] |}} {{#if: {{{citizen4|}}} |
<br> [[Has citizen style::{{{citizen4|}}}]] |}} {{#if: {{{citizen5|}}} |
<br> [[Has citizen style::{{{citizen5|}}}]] |}} {{#if: {{{citizen6|}}} |
<br> [[Has citizen style::{{{citizen6|}}}]] |}} {{#if: {{{citizen7|}}} |
<br> [[Has citizen style::{{{citizen7|}}}]] |}} {{#if: {{{citizen8|}}} |
<br> [[Has citizen style::{{{citizen8|}}}]] |}} {{#if: {{{citizen9|}}} |
<br> [[Has citizen style::{{{citizen9|}}}]] |}} {{#if: {{{citizen10|}}} |
<br> [[Has citizen style::{{{citizen10|}}}]] |}} {{#if: {{{citizen11|}}} |
<br> [[Has citizen style::{{{citizen11|}}}]] |}}
{{!}}-
{{!}}-
|}}
|}}
{{#if: {{{race|}}} | <!-- Up to 3 entries can be made to indicate if a verb has racial versions -->
{{#if: {{{race|}}} |
! valign="top" {{!}} Race
! align="left" valign="top" scope="rowheader" {{!}} Race
{{!}} align="right" valign="top" {{!}} [[Has racial style::{{{race|}}}]] {{#if: {{{race2|}}} |
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{race|}}}|,|x|[[Has racial style::x]] |,<nowiki> </nowiki>}}
<br> [[Has racial style::{{{race2|}}}]] |}} {{#if: {{{race3|}}} |
<br> [[Has racial style::{{{race3|}}}]] |}} {{#if: {{{race4|}}} |
<br> [[Has racial style::{{{race4|}}}]] |}}
{{!}}-
{{!}}-
|}}
|}}
{{#if: {{{culture|}}} | <!-- Up to 3 entries can be made to indicate if a verb has cultural versions -->
{{#if: {{{culture|}}} |
! valign="top" {{!}} Culture
! align="left" valign="top" scope="rowheader" {{!}} Culture
{{!}} align="right" valign="top" {{!}} [[Has cultural style::{{{culture|}}}]] {{#if: {{{culture2|}}} |
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{culture|}}}|,|x|[[Has cultural style::x]] |,<nowiki> </nowiki>}}
<br> [[Has cultural style::{{{culture2|}}}]] |}} {{#if: {{{culture3|}}} |
<br> [[Has cultural style::{{{culture3|}}}]] |}}
{{!}}-
{{!}}-
|}}
|}}
{{#if: {{{profession|}}} |

! align="left" valign="top" scope="rowheader" {{!}} Profession
{{#if: {{{profession|}}} | <!-- Up to 3 entries can be made to indicate if a verb has professional versions -->
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{profession|}}}|,|x|[[Has profession style::x]] |,<nowiki> </nowiki>}}
! valign="top" {{!}} Profession
{{!}} align="right" valign="top" {{!}} [[Has profession style::{{{profession|}}}]] {{#if: {{{profession2|}}} |
<br> [[Has profession style::{{{profession2|}}}]] |}} {{#if: {{{profession3|}}} |
<br> [[Has profession style::{{{profession3|}}}]] |}} {{#if: {{{profession4|}}} |
<br> [[Has profession style::{{{profession4|}}}]] |}} {{#if: {{{profession5|}}} |
<br> [[Has profession style::{{{profession5|}}}]] |}} {{#if: {{{profession6|}}} |
<br> [[Has profession style::{{{profession6|}}}]] |}} {{#if: {{{profession7|}}} |
<br> [[Has profession style::{{{profession7|}}}]] |}} {{#if: {{{profession8|}}} |
<br> [[Has profession style::{{{profession8|}}}]] |}} {{#if: {{{profession9|}}} |
<br> [[Has profession style::{{{profession9|}}}]] |}} {{#if: {{{profession10|}}} |
<br> [[Has profession style::{{{profession10|}}}]] |}}
{{!}}-
{{!}}-
|}} <!-- The following are for System specific verbs -->
|}} <!-- The following are for System specific verbs -->
{{#if: {{{system|}}} |
{{#if: {{{system|}}} | <!-- Up to 3 entries can be made to indicate if a verb has system versions, ex. Guild, Player System Manager -->
! valign="top" {{!}} System
! align="left" valign="top" scope="rowheader" {{!}} System
{{!}} align="right" valign="top" {{!}} [[System::{{{system|}}}]] {{#if: {{{system2|}}} |
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{system|}}}|,|x|[[System::x]] |,<nowiki> </nowiki>}}
<br> [[System::{{{system2|}}}]] |}} {{#if: {{{system3|}}} |
<br> [[System::{{{system3|}}}]] |}} {{#if: {{{system4|}}} |
<br> [[System::{{{system4|}}}]] |}} {{#if: {{{system5|}}} |
<br> [[System::{{{system5|}}}]] |}}
{{!}}-
{{!}}-
|}} <!-- The following are for System specific verbs -->
|}} <!-- The following are for Special case verbs, ex. verbs that only work when used with items. -->
{{#if: {{{special|}}} |
{{#if: {{{special|}}} | <!-- Up to 3 entries can be made to indicate if a verb has system versions, ex. Guild, Player System Manager -->
! valign="top" {{!}} Special Case
! align="left" valign="top" scope="rowheader" style="white-space: nowrap;" {{!}} Special Case
{{!}} align="right" valign="top" {{!}} [[{{{special|}}}]] {{#if: {{{special2|}}} |
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{special|}}}|,|x|[[x]] |,<nowiki> </nowiki>}}
<br> [[{{{special2|}}}]] |}} {{#if: {{{special3|}}} |
<br> [[{{{special3|}}}]] |}}
{{!}}-
{{!}}-
|}}
|}}
|}
|}
|}
|}<noinclude>[[Category: Verb templates]]</noinclude>
<includeonly>{{DEFAULTSORT:{{{verb}}}}}
{{DEFAULTSORT:{{{verb}}}}}
<includeonly>[[Category:Verbs]]</includeonly> {{#arraymap:{{{type|}}}|,|x|[[Category:x verbs]] |<nowiki> </nowiki>}} {{#switch: {{{demeanor|}}}|Yes=[[Category: Demeanor-based verbs]]|yes=[[Category: Demeanor-based verbs]]}} {{#switch: {{{wedding|}}}|Yes=[[Category: Wedding verbs]]|yes=[[Category: Wedding verbs]] }}
[[Category:Verbs]] {{#if: {{{type|}}} | [[Category: {{{type}}} verbs]] }} {{#if: {{{type2|}}} | [[Category: {{{type2}}} verbs]] }} {{#if: {{{type3|}}} | [[Category: {{{type3}}} verbs]] }} {{#switch: {{{demeanor|}}}|Yes=[[Category: Demeanor-based verbs]]|yes=[[Category: Demeanor-based verbs]]}} {{#if: {{{citizen|}}} | [[Category: Citizenship verbs]] }} {{#if: {{{citizen|}}} | [[Category: {{{citizen}}} citizen verbs]] }} {{#if: {{{citizen2|}}} | [[Category: {{{citizen2}}} citizen verbs]] }} {{#if: {{{citizen3|}}} | [[Category: {{{citizen3}}} citizen verbs]] }} {{#if: {{{citizen4|}}} | [[Category: {{{citizen4}}} citizen verbs]] }} {{#if: {{{citizen5|}}} | [[Category: {{{citizen5}}} citizen verbs]] }} {{#if: {{{citizen6|}}} | [[Category: {{{citizen6}}} citizen verbs]] }} {{#if: {{{citizen7|}}} | [[Category: {{{citizen7}}} citizen verbs]] }} {{#if: {{{citizen8|}}} | [[Category: {{{citizen8}}} citizen verbs]] }} {{#if: {{{citizen9|}}} | [[Category: {{{citizen9}}} citizen verbs]] }} {{#if: {{{citizen10|}}} | [[Category: {{{citizen10}}} citizen verbs]] }} {{#if: {{{citizen11|}}} | [[Category: {{{citizen11}}} citizen verbs]] }} {{#if: {{{race|}}} | [[Category: Racial verbs]] }} {{#if: {{{race|}}} | [[Category:{{#switch: {{{race}}} |Aelotoi=Aelotian|Burghal Gnome=Burghal gnome|Dark Elf=Dark elven|Dark elf=Dark elven|Dwarf=Dwarven|Elf=Elven|Forest Gnome=Forest gnome|Half-Elf=Half-elven|Half-elf=Half-elven|Half-Krolvin=Half-krolvin|Sylvankind=Sylvan|{{{race}}} }} racial verbs]]}} {{#if: {{{race2|}}} | [[Category:{{#switch: {{{race2}}} |Aelotoi=Aelotian|Burghal Gnome=Burghal gnome|Dark Elf=Dark elven|Dark elf=Dark elven|Dwarf=Dwarven|Elf=Elven|Forest Gnome=Forest gnome|Half-Elf=Half-elven|Half-elf=Half-elven|Half-Krolvin=Half-krolvin|Sylvankind=Sylvan|{{{race2}}} }} racial verbs]]}} {{#if: {{{race3|}}} | [[Category:{{#switch: {{{race3}}} |Aelotoi=Aelotian|Burghal Gnome=Burghal gnome|Dark Elf=Dark elven|Dark elf=Dark elven|Dwarf=Dwarven|Elf=Elven|Forest Gnome=Forest gnome|Half-Elf=Half-elven|Half-elf=Half-elven|Half-Krolvin=Half-krolvin|Sylvankind=Sylvan|{{{race3}}} }} racial verbs]]}} {{#if: {{{race4|}}} | [[Category:{{#switch: {{{race4}}} |Aelotoi=Aelotian|Burghal Gnome=Burghal gnome|Dark Elf=Dark elven|Dark elf=Dark elven|Dwarf=Dwarven|Elf=Elven|Forest Gnome=Forest gnome|Half-Elf=Half-elven|Half-elf=Half-elven|Half-Krolvin=Half-krolvin|Sylvankind=Sylvan|{{{race4}}} }} racial verbs]]}} {{#if: {{{culture|}}} | [[Category: Cultural verbs]] }} {{#switch: {{{wedding|}}}|Yes=[[Category: Wedding verbs]]|yes=[[Category: Wedding verbs]] }} {{#if: {{{profession|}}} | [[Category: Profession verbs]] [[Category: {{{profession}}} verbs]] }} {{#if: {{{profession2|}}} | [[Category: {{{profession2}}} verbs]] }} {{#if: {{{profession3|}}} | [[Category: {{{profession3}}} verbs]] }} {{#if: {{{profession4|}}} | [[Category: {{{profession4}}} verbs]] }} {{#if: {{{profession5|}}} | [[Category: {{{profession5}}} verbs]] }} {{#if: {{{profession6|}}} | [[Category: {{{profession6}}} verbs]] }} {{#if: {{{profession7|}}} | [[Category: {{{profession7}}} verbs]] }} {{#if: {{{profession8|}}} | [[Category: {{{profession8}}} verbs]] }} {{#if: {{{profession9|}}} | [[Category: {{{profession9}}} verbs]] }} {{#if: {{{profession10|}}} | [[Category: {{{profession10}}} verbs]] }} {{#if: {{{system|}}} | [[Category:{{#switch: {{{system}}}|Player System Manager=PSM|Player System manager=PSM|Player system manager=PSM|{{{system}}} }} system verbs]] }} {{#if: {{{system2|}}} | [[Category:{{#switch: {{{system2}}}|Player System Manager=PSM|Player System manager=PSM|Player system manager=PSM|{{{system2}}} }} system verbs]] }} {{#if: {{{system3|}}} | [[Category:{{#switch: {{{system3}}}|Player System Manager=PSM|Player System manager=PSM|Player system manager=PSM|{{{system3}}} }} system verbs]] }} {{#if: {{{system4|}}} | [[Category:{{#switch: {{{system4}}}|Player System Manager=PSM|Player System manager=PSM|Player system manager=PSM|{{{system4}}} }} system verbs]] }} {{#if: {{{system5|}}} | [[Category:{{#switch: {{{system5}}}|Player System Manager=PSM|Player System manager=PSM|Player system manager=PSM|{{{system5}}} }} system verbs]] }}</includeonly><noinclude>
{{#if: {{{citizen|}}} | [[Category: Citizenship verbs]] {{#arraymap:{{{citizen|}}}|,|x|[[Category:x citizen verbs]] |<nowiki> </nowiki>}} }} {{#if: {{{race|}}} | [[Category:Racial verbs]] {{#arraymap:{{{race|}}}|,|x|[[Category:x verbs]] |<nowiki> </nowiki>}} }} {{#if: {{{culture|}}} | [[Category: Cultural verbs]] {{#arraymap:{{{culture|}}}|,|x|[[Category:x cultural verbs]] |<nowiki> </nowiki>}} }} {{#if: {{{profession|}}} | [[Category:Profession verbs]] {{#arraymap:{{{profession|}}}|,|x|[[Category:x verbs]] |<nowiki> </nowiki>}} }}{{#if: {{{system|}}} | [[Category: System verbs]] {{#arraymap:{{{system|}}}|,|x|[[Category:x verbs]] |<nowiki> </nowiki>}} }}</onlyinclude>
This template is set up to capture the primary information regarding a verb, including type and other variables. Below is the copy/paste code with instructions. For full instructions on use and page setup, please see [[Help:Verb pages]]
This template is set up to capture the primary information regarding a verb, including type and other variables. Below is the copy/paste code with instructions. For full instructions on use and page setup, please see [[Help:Verb pages]]


{{#section:Help:Verb pages|cpcode}}</noinclude>
{{#section:Help:Verb pages|cpcode}}
[[Category: Verb templates]]

Revision as of 20:20, 10 September 2025

{{{verb}}}
Type


This template is set up to capture the primary information regarding a verb, including type and other variables. Below is the copy/paste code with instructions. For full instructions on use and page setup, please see Help:Verb pages

{{Verbinfo
|verb = VERB <!--Name of the verb.  This should always be capitalized. -->
|type = TYPE <!--Type of verb: Roleplaying, System, Special Case.  If multiple, enter each separated by a comma and no spaces. -->
|demeanor = YES <!-- Simply answer "Yes" if there are demeanor actions -->
|wedding = Yes <!--Simply answer "Yes" if there are wedding variations -->
|citizen = CITIZEN <!--If there is a citizen version of the verb.  If multiple, enter each separated by a comma and no spaces. -->
|race = RACE <!--If there is a racial version of the verb.  If multiple, enter each separated by a comma and no spaces. -->
|culture = CULTURE <!--If there is a cultural version of the verb.  If multiple, enter each separated by a comma and no spaces. -->
|profession = PROFESSION<!--If there is a profession version of the verb.  If multiple, enter each separated by a comma and no spaces. -->
|system = SYSTEM <!--If this verb is specific to a system.  If multiple, enter each separated by a comma and no spaces.-->
|special = SPECIAL <!--If this verb is due to a special case and does not work otherwise.  If multiple, enter each separated by a comma and no spaces. -->
}}