Template:Classtable: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with " <div style="float:right;"> {{#vardefine:Prog|{{Calc/prog| |Phonology={{{Phonology|}}} |NounCases={{{NounCases|}}} |NounDef={{{NounDef|}}} |NounNumbers={{{NounNumbers|}}} |N...")
 
(nah okay this template is just beyond redemption)
Tag: Replaced
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Please delete
 
<div style="float:right;">
{{#vardefine:Prog|{{Calc/prog|
|Phonology={{{Phonology|}}}
|NounCases={{{NounCases|}}}
|NounDef={{{NounDef|}}}
|NounNumbers={{{NounNumbers|}}}
|NounGender={{{NounGender|}}}
|VerbPerson={{{VerbPerson|}}}
|VerbNumber={{{VerbNumber|}}}
|VerbAspect={{{VerbAspect|}}}
|VerbTense={{{VerbTense|}}}
|VerbMood={{{VerbMood|}}}
|VerbVoice={{{VerbVoice|}}}
|AdjCase={{{AdjCase|}}}
|AdjNumber={{{AdjNumber|}}}
|AdjDef={{{AdjDef|}}}
|AdjGen={{{AdjGen|}}}
|AdjComparative={{{AdjComparative|}}}
|AdjSuperlative={{{AdjSuperlative|}}}
|AdjGen={{{AdjGen|}}}
|Supine={{{Supine|}}}
|Gerund={{{Gerund|}}}
|Participle={{{Participle|}}}
|Infinitive={{{Infinitive|}}}
|Modality={{{Modality|}}}
|Words={{{Words|}}}
}}
}}
{{#vardefine:Headness|{{Calc/headness
|adjective={{{adjective|}}}
|article={{{article|}}}
|adposition={{{adposition|}}}
|relativeclause={{{relativeclause|}}}
|nounclause={{{nounclause|}}}
|order={{{order|}}}
|adverb={{{adverb|}}}
}}
}}{| align="right" class="wikitable" style="width: 18%; text-align: center; font-size:small;"
! colspan="4" scope="col"|<big>{{{Name|{{PAGENAME}}}}}</big>{{#if: {{{NativeName|}}} | <br>''{{{NativeName}}}'' | }}
{{#ifeq:{{#var:Prog}}|0||{{ProgMeter}}}}
|-
!colspan="4" scope="col"|Type
|-
|colspan="4"|{{{Type|}}}
|-
! colspan="4"|Alignment
|-
|colspan="4"|{{{Alignment|}}}
|-
! colspan="4"|Head directionality
|-
| colspan="4"|{{#ifexpr: {{#var:Headness}} = 0 | Purely head‑initial | {{#ifexpr: {{#var:Headness}} < 16.667 | Strongly head‑initial | {{#ifexpr: {{#var:Headness}} < 33.333 | Weakly head‑initial}} | {{#ifexpr: {{#var:Headness}} < 66.667 | Mixed | {{#ifexpr: {{#var:Headness}} < 83.333 | Weakly head‑final | {{#ifexpr: {{#var:Headness}} < 100 | Strongly head‑final | Purely head‑final }} }} }} }} }}
|-
! colspan=4 | Primary word order
|-
| colspan=4 | {{#switch:{{uc:{{{order|}}}}}
| SVO=Subject-verb-object
| SOV=Subject-object-verb
| VSO=Verb-subject-object
| OVS=Object-verb-subject
| OSV=Object-subject-verb
| VOS=Verb-object-subject
| V2=Verb-second
| VF=Verb-final
| SV=Subject-verb
| VS=Verb-subject
| OV= Object-verb
| VO=Verb-object
| SO=Subject-object
| OS=Object-subject
| Free=Free
| Non-configurational=Non-configurational
}}
|-
! colspan="4"|Tonal
|-
| colspan="4"|{{#ifeq:{{lc:{{{Tonal|}}}}}|yes|<span style="color:#008000">Yes</span>|<span style="color:#800000">No</span>}}
|-
! colspan="4" scope="col"|Declensions
|-
| colspan="4"|{{#ifeq:{{lc:{{{Declined|{{{Declensions|}}}}}}}}|yes|<span style="color:#008000">Yes</span>|<span style="color:#800000">No</span>}}
|-
! colspan="4"|Conjugations
|-
|colspan="4"| {{#ifeq:{{lc:{{{Conjugated|{{{Conjugations|}}}}}}}}|yes|<span style="color:#008000">Yes</span>|<span style="color:#800000">No</span>}}
|-
! colspan="4"|Genders
|-
| colspan="4"|{{{Genders|None}}}
{{#ifeq:{{lc:{{{Declined|{{{Declensions|}}}}}}}}|yes|{{NounDec
|NCase = {{{NCase|{{{Case|}}}}}}
|NNumber = {{{NNumber|{{{Number|}}}}}}
|NDefiniteness ={{{NDefiniteness|{{{Definiteness|}}}}}}
|NGender = {{{NGender|{{{Gender|}}}}}}
}}|}}{{#ifeq:{{lc:{{{Conjugated|{{{Conjugations|}}}}}}}}|yes|{{VerbConj
|VVoice = {{{VVoice|{{{Voice|}}}}}}
|VMood = {{{VMood|{{{Mood|}}}}}}
|VPerson = {{{VPerson|{{{Person|}}}}}}
|VNumber = {{{VNumber|{{{Number|}}}}}}
|VTense = {{{VTense|{{{Tense|}}}}}}
|VAspect = {{{VAspect|{{{Aspect|}}}}}}
}} |}}
|}</div>
<noinclude>
==Usage==
The text below gives a short guide as to which values to use in the template on the right.
<pre><nowiki>
{{Classmeter
| Name          = <!--Your language's name in English, if any-->
| NativeName    = <!--Your language's native name-->
| Type          = <!--Is your language isolating, analytic, polysynthetic, fusional, agglutinative or other?-->
| Alignment    =
<!--Insert "initial", "final" or "mixed" for the head direction for each case.-->
|adjective      =
|adposition    =
|adverb        =
|article        =
|relativeclause =
|nounclause    =
|order          = <!--What order is your primary word order? SOV, VSO, VOS or other?-->
| Tonal        = <!--Is your language tonal? Insert "yes" or "no"-->
| Declensions  = <!--Does your language have declensions? Insert "yes" or "no"-->
| Conjugations  = <!--What about conjugations? Insert "yes" or "no"-->
| Genders      = <!--Does your language have gender? If so how many? Insert "None" or a number, e.g. 3-->
| Nouns inflect according to...
| Case          = <!--Do nouns change according to case? Insert "yes" or "no"-->
| Number        = <!--What about number? Insert "yes" or "no"-->
| Definiteness  = <!--And definiteness? Insert "yes" or "no"-->
| Gender        = <!--Gender? Insert "yes" or "no"-->
| Verbs conjugate according to...
| Voice        = <!--Do verbs change according to voice? Insert "yes" or "no"-->
| Mood          = <!--What about mood? Insert "yes" or "no"-->
| Person        = <!--Person? Insert "yes" or "no"-->
| Number        = <!--Number? Insert "yes" or "no"-->
| Tense        = <!--Tense? Insert "yes" or "no"-->
| Aspect        = <!--Aspect? Insert "yes" or "no"-->
To what degree, from 0 to 100 where 100 is fully completed, is the respective part completed?
<!-- Fill this in about your progress, only clean numbers no %s.-->
|Phonology      =
|NounCases      =
|NounDef        =
|NounNumbers    =
|NounGender    =
|VerbPerson    =
|VerbNumber    =
|VerbAspect    =
|VerbTense      =
|VerbMood      =
|VerbVoice      =
|AdjCase        =
|AdjNumber      =
|AdjDef        =
|AdjGen        =
|AdjComparative =
|AdjSuperlative =
|AdjGen        =
|Supine        =
|Gerund        =
|Participle    =
|Infinitive    =
|Modality      =
|Words          = <!--How many words does your conlang have? Inflected forms do not count!-->
}}
</nowiki></pre>
 
==Blank values==
The text below displays the above template in wikicode.
<pre><nowiki>
{{Classmeter
|Name =
|NativeName =
|Type =
|Alignment =
|Head =
|Tonal =
|Declined =
|Conjugated =
|Genders =
|NCase =
|NNumber =
|NDefiniteness =
|NGender =
|VVoice =
|VMood =
|VPerson =
|VNumber =
|VTense =
|VAspect =
 
|Phonology=
|NounCases=
|NounDef=
|NounNumbers=
|NounGender=
|VerbPerson=
|VerbNumber=
|VerbAspect=
|VerbTense=
|VerbMood=
|VerbVoice=
|AdjCase=
|AdjNumber=
|AdjDef=
|AdjGen=
|AdjComparative=
|AdjSuperlative=
|AdjGen=
|Supine=
|Gerund=0
|Participle=
|Infinitive=
|Modality=
|Words=
 
|adjective =
|adposition =
|adverb=
|article=
|relativeclause =
|nounclause =
|order =
}}
</div>
</nowiki></pre>
[[Category:Templates]]
[[Category:Lacking documentation]]
[[Category:Classification]]
</noinclude>

Latest revision as of 00:09, 21 February 2021

Please delete