Template:Diagram/Display
From Psalms: Layer by Layer
This template makes for easy inclusion of a grammatical diagram elsewhere on the Resource Site. This can either be done based on a chapter and verse (in which case it will return the first diagram) or a diagram ID.
E.g. this code:
{{Diagram/Display |Chapter=92|Verse=1}}
Will display this:
and this code, including Show=all will also display the buttons for ellipses:
{{Diagram/Display |Chapter=3|Verse=2|Show=all}}
Will display this:
SimpleGrammar DiscourseUnit [v. 2] Fragment Vocative noun: יְהוָה YHWH Fragment Clause Subject ConstructChain <gloss="my adversaries"> noun: צָר adversaries suffix-pronoun: ָי me Predicate verb: רַבּוּ have become many adverb: מָה how Fragment Clause Subject Nominal Clause Predicate verb-participle: קָמִים those rising Adverbial PrepositionalPhrase Preposition preposition: עָל against Object suffix-pronoun: ָי me Predicate verb: are Complement adjective: רַבִּים many Fragment <status="alternative"> Clause Subject Nominal adjective: רַבִּים many Predicate verb-participle: קָמִים are rising Adverbial PrepositionalPhrase Preposition preposition: עָל against Object suffix-pronoun: ָי me
And this code:
{{Diagram/Display |Chapter=92|DiagramID=V-1-alternative}}
Will display this:
SimpleGrammar Fragment Nominal ConstructChain noun: מִזְמוֹר a psalm Nominal noun: שִׁיר a song Adjectival PrepositionalPhrase Preposition preposition: לְ for Object Nominal ConstructChain noun: יוֹם day Nominal article: הַ the noun: שַּׁבָּת Sabbath
And bad code:
{{Diagram/Display |Chapter=92|DiagramID=bad}}
Will display this:
SimpleGrammar No data