Abstract Wikipedia abstractwiki https://abstract.wikipedia.org/wiki/Abstract_Wikipedia:Main_page MediaWiki 1.47.0-wmf.3 first-letter Media Special Talk User User talk Abstract Wikipedia Abstract Wikipedia talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk TimedText TimedText talk Module Module talk Translations Translations talk Abstract Wikipedia:Useful functions for article composition 4 386 8745 7575 2026-05-23T16:44:59Z Waldyrious 896 improve readability and clarity further 8745 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Subject is instance of == Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. === Example === : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} Note that this function converts the subject's name's first letter to uppercase in some languages, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. == Subject is kind of == [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. === Example === : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} == Defining role sentence == [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Example === : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} == State location using entity and class == [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Example === : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} == Sentence-case section title from Wikidata label == [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. === Example === : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} == Plural sentence-case title from Wikidata label == [[f:Z32839]] is a plural version of [[f:Z32145]]. === Example === : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} == Join text-like objects into HTML fragments == [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. == Monolingual text as HTML fragment w/ auto-langcode == [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. == Collective role sentence == [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Example === : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} == Simple present collective sentence == [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. === Example === : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} [[Category:Abstract Wikipedia administration|Useful Functions]] ewkaio74h8t39qf129xta94t18osshq 8746 8745 2026-05-23T16:46:40Z Waldyrious 896 reword sentence for clarity; add blank lines to improve source code readability 8746 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Subject is instance of == Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. === Example === : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. == Subject is kind of == [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. === Example === : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} == Defining role sentence == [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Example === : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} == State location using entity and class == [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Example === : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} == Sentence-case section title from Wikidata label == [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. === Example === : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} == Plural sentence-case title from Wikidata label == [[f:Z32839]] is a plural version of [[f:Z32145]]. === Example === : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} == Join text-like objects into HTML fragments == [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. == Monolingual text as HTML fragment w/ auto-langcode == [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. == Collective role sentence == [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Example === : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} == Simple present collective sentence == [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. === Example === : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} [[Category:Abstract Wikipedia administration|Useful Functions]] rtx8c6eawwowivf6o97z6zhs8hs707j 8747 8746 2026-05-23T16:48:07Z Waldyrious 896 simplify TOC and visual hierarchy of the page 8747 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Subject is instance of == Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. == Subject is kind of == [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} == Defining role sentence == [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} == State location using entity and class == [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} == Sentence-case section title from Wikidata label == [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} == Plural sentence-case title from Wikidata label == [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} == Join text-like objects into HTML fragments == [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. == Monolingual text as HTML fragment w/ auto-langcode == [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. == Collective role sentence == [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} == Simple present collective sentence == [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} [[Category:Abstract Wikipedia administration|Useful Functions]] cjkakan44xq9pepkd8p0szcw3l98nqm 8748 8747 2026-05-23T16:50:48Z Waldyrious 896 front-load the examples and let the theoretical explanations come afterwards 8748 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Subject is instance of == Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. == Subject is kind of == [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. == Defining role sentence == [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. == State location using entity and class == [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. == Sentence-case section title from Wikidata label == [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} == Plural sentence-case title from Wikidata label == [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} == Join text-like objects into HTML fragments == [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. == Monolingual text as HTML fragment w/ auto-langcode == [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. == Collective role sentence == [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. == Simple present collective sentence == [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. [[Category:Abstract Wikipedia administration|Useful Functions]] pc34i11o1u13dxzcx7zsgdh56lx4alq 8749 8748 2026-05-23T16:52:10Z Waldyrious 896 put semantic examples first and syntactic examples later 8749 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Subject is instance of == Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. == Subject is kind of == [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. == Defining role sentence == [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. == State location using entity and class == [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. == Collective role sentence == [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. == Simple present collective sentence == [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Sentence-case section title from Wikidata label == [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} == Plural sentence-case title from Wikidata label == [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} == Join text-like objects into HTML fragments == [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. == Monolingual text as HTML fragment w/ auto-langcode == [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] ds8wggrruvi2sbid9odes2s60dvra9j 8750 8749 2026-05-23T16:54:01Z Waldyrious 896 explicitly group functions into "common sentence templates" and "utilities" 8750 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of === [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what it is being described as. === Defining role sentence === [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === State location using entity and class === [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] s9ihicsekbu06b257zd5wu7bxsi1s4i 8751 8750 2026-05-23T16:56:53Z Waldyrious 896 normalize the "abstract article" phrasing 8751 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : Language: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of === [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : Language: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Defining role sentence === [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : Language: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === State location using entity and class === [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] f2i0f6mio3b9oeyled43dnihdmf48k8 8752 8751 2026-05-23T17:08:05Z Waldyrious 896 /* Common sentence templates */ fix inconsistent coloring of "Language" parameters 8752 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of === [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Defining role sentence === [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === State location using entity and class === [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] 38sjd1tcraf4qocziipsv3r7b075ph7 8753 8752 2026-05-23T17:09:02Z Waldyrious 896 /* Common sentence templates */ Add plural version of "Subject is kind of" template sentence 8753 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of (singular) === [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence along the lines of {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Defining role sentence === [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === State location using entity and class === [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] 8q2ot3mx8synhp8ery3roal4z5q01by 8754 8753 2026-05-23T17:21:31Z Waldyrious 896 /* Common sentence templates */ +Superlative defining role sentence 8754 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence along the lines of {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of (singular) === [[f:Z26095]] creates a sentence along the lines of {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence along the lines of {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Defining role sentence === [[f:Z28016]] creates a sentence along the lines of {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence along the lines of {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence along the lines of {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence along the lines of {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence along the lines of {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] kxpxgln1vwrkwhapi5vg7oam1yxswfq 8755 8754 2026-05-23T17:24:16Z Waldyrious 896 "a sentence along the lines of..." → "a sentence in the form..." 8755 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence in the form {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is kind of (singular) === [[f:Z26095]] creates a sentence in the form {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence in the form {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Defining role sentence === [[f:Z28016]] creates a sentence in the form {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence in the form {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence in the form {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence in the form {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence in the form {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] mpxkdvpdn6ukrkd9tpdgemcxk5f4o00 8756 8755 2026-05-23T17:31:15Z Waldyrious 896 /* Common sentence templates */ +Subject is a qualified instance of 8756 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence in the form {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is a qualified instance of === Function [[f:Z29591|describing entity with adjective / class <small>(Z29591)</small>]] creates a sentence in the form {{xt|"X is a(n) Y Z."}} — or abstractly, <code>{{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q925}} : {{color|blue|Adjective}}: {{Q|Q11435}} : {{color|darkorange|Class}}: {{Q|Q11344}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Mercury is a liquid chemical element."}} === Subject is kind of (singular) === [[f:Z26095]] creates a sentence in the form {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence in the form {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Defining role sentence === [[f:Z28016]] creates a sentence in the form {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence in the form {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence in the form {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence in the form {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence in the form {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] he78jyflo6vo8jif3bi33k77j50pzpq 8757 8756 2026-05-23T17:41:40Z Waldyrious 896 /* Common sentence templates */ +indefinite version of "subject is a qualified instance of" template sentence 8757 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence in the form {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is a qualified instance of (definite) === Function [[f:Z29591|describing entity with adjective / class <small>(Z29591)</small>]] creates a sentence in the form {{xt|"X is a(n) Y Z."}} — or abstractly, <code>{{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q925}} : {{color|blue|Adjective}}: {{Q|Q11435}} : {{color|darkorange|Class}}: {{Q|Q11344}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Mercury is a liquid chemical element."}} === Subject is a qualified instance of (indefinite) === Function [[f:Z29743|description of class with adjective and superclass <small>(Z29743)</small>]] creates a sentence in the form {{xt|"A(n) X is a(n) Y Z."}} — or abstractly, <code>A(n) {{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q15783}} : {{color|blue|Adjective}}: {{Q|Q16042592}} : {{color|darkorange|Class}}: {{Q|Q106839123}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"A skateboard is a small means of transport."}} === Subject is kind of (singular) === [[f:Z26095]] creates a sentence in the form {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence in the form {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Defining role sentence === [[f:Z28016]] creates a sentence in the form {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence in the form {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence in the form {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence in the form {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence in the form {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] 6l64oxus6ue4ipx842sir451cp38k6z 8758 8757 2026-05-23T17:57:18Z Waldyrious 896 fix mix-up of instance vs. class 8758 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence in the form {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is a qualified instance of === Function [[f:Z29591|describing entity with adjective / class <small>(Z29591)</small>]] creates a sentence in the form {{xt|"X is a(n) Y Z."}} — or abstractly, <code>{{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q925}} : {{color|blue|Adjective}}: {{Q|Q11435}} : {{color|darkorange|Class}}: {{Q|Q11344}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Mercury is a liquid chemical element."}} === Subject is kind of (singular) === [[f:Z26095]] creates a sentence in the form {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence in the form {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|noun}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Noun}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Subject is kind of (qualified) === Function [[f:Z29743|description of class with adjective and superclass <small>(Z29743)</small>]] creates a sentence in the form {{xt|"A(n) X is a(n) Y Z."}} — or abstractly, <code>A(n) {{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q15783}} : {{color|blue|Adjective}}: {{Q|Q16042592}} : {{color|darkorange|Class}}: {{Q|Q106839123}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"A skateboard is a small means of transport."}} === Defining role sentence === [[f:Z28016]] creates a sentence in the form {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence in the form {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence in the form {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence in the form {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence in the form {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] 1duwbwjgxjbtfvb2o5y82gznhhj11j5 8759 8758 2026-05-23T17:58:35Z Waldyrious 896 /* Subject is kind of (plural) */ rename "noun" → "entity" (see [[f:Special:Diff/277521]]) 8759 wikitext text/x-wiki These functions are considered useful for composing abstract articles, in that they have typical use cases in composing them and have broad support across languages. For more discussion and tracking of fragment functions, see [[:f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]]. For a list of functions relating to natural language, see [[f:Wikifunctions:Catalogue/Natural language operations/Global language functions]]. == Common sentence templates == === Subject is instance of === Function [[f:Z26039|subject is instance of <small>(Z26039)</small>]] creates a sentence in the form {{xt|"X is a(n) [instance of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [instance of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city."}} The '''entity''' field (X in the formula above) should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what the entity is being described as. Note that, in some languages, this function converts the first letter of the subject's name to uppercase, which may not always be appropriate. If needed, you can use [[f:Z32953]] to undo that behavior. === Subject is a qualified instance of === Function [[f:Z29591|describing entity with adjective / class <small>(Z29591)</small>]] creates a sentence in the form {{xt|"X is a(n) Y Z."}} — or abstractly, <code>{{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q925}} : {{color|blue|Adjective}}: {{Q|Q11435}} : {{color|darkorange|Class}}: {{Q|Q11344}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Mercury is a liquid chemical element."}} === Subject is kind of (singular) === [[f:Z26095]] creates a sentence in the form {{xt|"A(n) X is a(n) [kind of] Y."}} — or abstractly, <code>{{color|red|entity}} is a(n) [kind of] {{color|blue|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q89}} : {{color|blue|Class}}: {{Q|Q3314483}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"An apple is a fruit."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what it is being described as. === Subject is kind of (plural) === [[f:Z26627]] creates a sentence in the form {{xt|"Xs are Ys."}} — or abstractly, <code>{{color|red|entity}} are {{color|blue|class}}es</code>. ; Example : {{color|red|Entity}}: {{Q|Q25894}} : {{color|blue|Class}}: {{Q|Q110551885}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Antelopes are mammals."}} === Subject is kind of (qualified) === Function [[f:Z29743|description of class with adjective and superclass <small>(Z29743)</small>]] creates a sentence in the form {{xt|"A(n) X is a(n) Y Z."}} — or abstractly, <code>A(n) {{color|red|entity}} is a(n) {{color|blue|adjective}} {{color|darkorange|class}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q15783}} : {{color|blue|Adjective}}: {{Q|Q16042592}} : {{color|darkorange|Class}}: {{Q|Q106839123}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"A skateboard is a small means of transport."}} === Defining role sentence === [[f:Z28016]] creates a sentence in the form {{xt|"X is the Y of Z."}} — or abstractly, <code>{{color|red|subject}} is the {{color|blue|role}} of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q3870}} : {{color|blue|Role}}: {{Q|Q5119}} : {{color|darkorange|Dependency}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is the capital city of Kenya."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Superlative defining role sentence === [[f:Z27243]] creates a sentence in the form {{xt|"X is the Y-est Z in W."}} — or abstractly, <code>{{color|red|entity}} is the {{color|blue|adjective}}st {{color|darkorange|class}} in {{color|purple|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q5413}} : {{color|blue|Adjective}}: {{Q|Q36253}} : {{color|darkorange|Class}}: {{Q|Q4022}} : {{color|purple|Location}}: {{Q|Q48}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Yangtze is the longest river in Asia."}} === State location using entity and class === [[f:Z26570]] creates a sentence in the form {{xt|"X is a Y in Z."}} — or abstractly, <code>{{color|red|entity}} is a {{color|blue|class}} in {{color|darkorange|location}}</code>. ; Example : {{color|red|Entity}}: {{Q|Q3870}} : {{color|blue|Class}}: {{Q|Q515}} : {{color|darkorange|Location}}: {{Q|Q114}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Nairobi is a city in Kenya."}} The '''entity''' field should be the subject (typically, but not always, your abstract article's subject). The '''class''' field should be what is being described as. The '''location''' field should say where it is located. It should only be used for physical locations. === Collective role sentence === [[f:Z32326]] creates a sentence in the form {{xt|"Xs are Ys of Z."}} — or abstractly, <code>{{color|red|subject}}s are {{color|blue|role}}s of {{color|darkorange|dependency}}</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Role}}: {{Q|Q31464082}} : {{color|darkorange|Dependency}}: {{Q|Q9128}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars are sources of light."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''role''' field should be which role it serves to the dependency. The '''dependency''' field should be what is related to the subject. === Simple present collective sentence === [[f:Z32531]] creates a sentence in the form {{xt|"Xs verb Ys."}} — or abstractly, <code>{{color|red|subject}}s {{color|blue|verb}} {{color|darkorange|object}}s</code>. ; Example : {{color|red|Subject}}: {{Q|Q523}} : {{color|blue|Verb}}: {{Q|Q6014822}} : {{color|darkorange|Object}}: {{Q|Q11426}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"Stars contain metals."}} The '''subject''' field should be the subject (typically, but not always, your abstract article's subject). The '''object''' field should be the entity or concept that the subject is acting upon or relating to (i.e. what receives the action in the sentence). The '''verb''' field should describe the type of relationship or action between the subject and object, typically expressed as a base concept that can be converted into a natural verb. == Utilities == === Sentence-case section title from Wikidata label === [[f:Z32145]] makes a capitalised section title (level 2 heading), using the label of the chosen Wikidata item from the appropriate language or a fallback. ; Example : {{color|red|Entity}}: {{Q|Q309}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>History</h2></nowiki>"}} === Plural sentence-case title from Wikidata label === [[f:Z32839]] is a plural version of [[f:Z32145]]. ; Example : {{color|red|Entity}}: {{Q|Q121769}} : {{color|dimgray|Language}}: English : <hr/> : Result: {{xt|"<nowiki><h2>References</h2></nowiki>"}} === Join text-like objects into HTML fragments === [[f:Z32234]] combines certain text-like objects (currently [[f:Z6|strings]], [[f:Z11|monolingual texts]], and [[f:Z89|HTML fragments]]) into one big HTML fragment. It is useful for making multi-sentence paragraphs and avoiding the divide between the 3 types in linguistic functions. === Monolingual text as HTML fragment w/ auto-langcode === [[f:Z29749]] converts a monolingual text into an HTML fragment. If the target language is not matched, it prepends a language code. This helps to still display a fallback when the functions available to a language are incomplete. [[Category:Abstract Wikipedia administration|Useful Functions]] 6yw2xy3ty2gtzcptfc9vdlbhsztsgmo User:Waldyrious 2 2869 8738 8323 2026-05-23T15:40:04Z Waldyrious 896 /* General impressions */ 8738 wikitext text/x-wiki == Showcase / lists of (potentially) most fleshed-out abstract articles == * [[Special:LongPages]] * [[Abstract Wikipedia:WikiProject Encyclopedic Quality]] ** See [[Special:WhatLinksHere/Abstract Wikipedia:WikiProject Encyclopedic Quality|pages that link to it]] * [[Abstract Wikipedia:Featured article]] * [[Abstract Wikipedia:WikiProject Core articles]] * [https://abstract-data.toolforge.org Abstract Data] dashboard (not sure what exactly it's showing) === Individual examples === * {{Q|Q153}} — has lots of content, but the functions seem to be broken atm * {{Q|Q408}} — lead paragraph + various sections and even subsections (though most of these only contain a "main article" link) * {{Q|Q258}} — has some broken functions * {{Q|Q152}} — just a plain list of facts, needs weaving into prose * {{Q|Q15433043}} — appears to be relatively complete, including references, but several functions are broken * {{Q|Q148}} — various relevant facts, but only contains the lead paragraph; needs expanding * {{Q|Q18556697}} — same as above * {{Q|Q762}} — contains a lead paragraph (currently using a broken function) and a section listing notable works; needs expanding. == Useful links == * [[Help:How to create an article]] (not very helpful tbh, as of May 2026) * [[Abstract Wikipedia:Useful functions for article composition]] * [[f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]] == General impressions == * The UI/UX still needs a lot of work! 😬 * Function execution errors out constantly 😩 ** I wonder if there could be a user preference to render functions locally instead of server-side? Or at least split the load? ** Why aren't rendered functions cached, even if just for a few minutes? * I hope they're working on a source mode for editing — something like this (based on the example from [[Abstract Wikipedia:About]]): *: <code>superlative ( Nigeria, populous, country, Africa, English ) </code> *: &nbsp;&nbsp;↓<br/>[[f:Z27243|<span title="superlative">Z27243</span>]] ( {{Q-tooltip|Q1033}}, {{Q-tooltip|Q138758272}}, {{Q-tooltip|Q6256}}, {{Q-tooltip|Q15}}, [[f:Z1002|<span title="English">Z1002</span>]] ) *: &nbsp;&nbsp;↓<br/>{{xt|Nigeria is the most populous country in Africa.}} ** See [[f:Wikifunctions:Status updates/2024-10-17]] for some examples. mcf7c5t0zlomum5t9yqs8s7hphxg6me 8739 8738 2026-05-23T15:41:52Z Waldyrious 896 /* Individual examples */ link to local articles instead of Wikidata 8739 wikitext text/x-wiki == Showcase / lists of (potentially) most fleshed-out abstract articles == * [[Special:LongPages]] * [[Abstract Wikipedia:WikiProject Encyclopedic Quality]] ** See [[Special:WhatLinksHere/Abstract Wikipedia:WikiProject Encyclopedic Quality|pages that link to it]] * [[Abstract Wikipedia:Featured article]] * [[Abstract Wikipedia:WikiProject Core articles]] * [https://abstract-data.toolforge.org Abstract Data] dashboard (not sure what exactly it's showing) === Individual examples === * [[Q153]] — has lots of content, but the functions seem to be broken atm * [[Q408]] — lead paragraph + various sections and even subsections (though most of these only contain a "main article" link) * [[Q258]] — has some broken functions * [[Q152]] — just a plain list of facts, needs weaving into prose * [[Q15433043]] — appears to be relatively complete, including references, but several functions are broken * [[Q148]] — various relevant facts, but only contains the lead paragraph; needs expanding * [[Q18556697]] — same as above * [[Q762]] — contains a lead paragraph (currently using a broken function) and a section listing notable works; needs expanding. == Useful links == * [[Help:How to create an article]] (not very helpful tbh, as of May 2026) * [[Abstract Wikipedia:Useful functions for article composition]] * [[f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]] == General impressions == * The UI/UX still needs a lot of work! 😬 * Function execution errors out constantly 😩 ** I wonder if there could be a user preference to render functions locally instead of server-side? Or at least split the load? ** Why aren't rendered functions cached, even if just for a few minutes? * I hope they're working on a source mode for editing — something like this (based on the example from [[Abstract Wikipedia:About]]): *: <code>superlative ( Nigeria, populous, country, Africa, English ) </code> *: &nbsp;&nbsp;↓<br/>[[f:Z27243|<span title="superlative">Z27243</span>]] ( {{Q-tooltip|Q1033}}, {{Q-tooltip|Q138758272}}, {{Q-tooltip|Q6256}}, {{Q-tooltip|Q15}}, [[f:Z1002|<span title="English">Z1002</span>]] ) *: &nbsp;&nbsp;↓<br/>{{xt|Nigeria is the most populous country in Africa.}} ** See [[f:Wikifunctions:Status updates/2024-10-17]] for some examples. 89sji8734ym0p7iswu5b950w5u45eww 8740 8739 2026-05-23T15:43:39Z Waldyrious 896 /* Individual examples */ fix labels 8740 wikitext text/x-wiki == Showcase / lists of (potentially) most fleshed-out abstract articles == * [[Special:LongPages]] * [[Abstract Wikipedia:WikiProject Encyclopedic Quality]] ** See [[Special:WhatLinksHere/Abstract Wikipedia:WikiProject Encyclopedic Quality|pages that link to it]] * [[Abstract Wikipedia:Featured article]] * [[Abstract Wikipedia:WikiProject Core articles]] * [https://abstract-data.toolforge.org Abstract Data] dashboard (not sure what exactly it's showing) === Individual examples === * [[Q153|{{label|Q153}}]] — has lots of content, but the functions seem to be broken atm * [[Q408|{{label|Q408}}]] — lead paragraph + various sections and even subsections (though most of these only contain a "main article" link) * [[Q258|{{label|Q258}}]] — has some broken functions * [[Q152|{{label|Q152}}]] — just a plain list of facts, needs weaving into prose * [[Q15433043|{{label|Q15433043}}]] — appears to be relatively complete, including references, but several functions are broken * [[Q148|{{label|Q148}}]] — various relevant facts, but only contains the lead paragraph; needs expanding * [[Q18556697|{{label|Q18556697}}]] — same as above * [[Q762|{{label|Q762}}]] — contains a lead paragraph (currently using a broken function) and a section listing notable works; needs expanding. == Useful links == * [[Help:How to create an article]] (not very helpful tbh, as of May 2026) * [[Abstract Wikipedia:Useful functions for article composition]] * [[f:Wikifunctions:Abstract Wikipedia/2025 fragment experiments]] == General impressions == * The UI/UX still needs a lot of work! 😬 * Function execution errors out constantly 😩 ** I wonder if there could be a user preference to render functions locally instead of server-side? Or at least split the load? ** Why aren't rendered functions cached, even if just for a few minutes? * I hope they're working on a source mode for editing — something like this (based on the example from [[Abstract Wikipedia:About]]): *: <code>superlative ( Nigeria, populous, country, Africa, English ) </code> *: &nbsp;&nbsp;↓<br/>[[f:Z27243|<span title="superlative">Z27243</span>]] ( {{Q-tooltip|Q1033}}, {{Q-tooltip|Q138758272}}, {{Q-tooltip|Q6256}}, {{Q-tooltip|Q15}}, [[f:Z1002|<span title="English">Z1002</span>]] ) *: &nbsp;&nbsp;↓<br/>{{xt|Nigeria is the most populous country in Africa.}} ** See [[f:Wikifunctions:Status updates/2024-10-17]] for some examples. bmgfxcgt9xf6ld3i354gq1dre1getls Template:Archive subpage 10 3058 8765 8602 2026-05-24T11:03:44Z Nintendofan885 51 __ARCHIVEDTALK__ 8765 wikitext text/x-wiki {{ombox|image=[[File:Replacement filing cabinet.svg|50px|link=|Archive]] |text={{LangSwitch |en=This is an '''[[c:Commons:Talk page guidelines#Archiving|archive]]''' of past discussions. '''Do not edit the contents of this page.'''}} {{#if:{{{link|}}}| {{LangSwitch |en=If you wish to start a new discussion or revive an old one, please do so on the [[{{{link}}}|current talk page]].}}|}}}} __ARCHIVEDTALK__ <noinclude> {{doc|content= {{UsesLangSwitch}} <templatedata> { "params": { "link": { "label": "Parent page link", "type": "wiki-page-name" } }, "description": "For use in talk page archives.", "format": "inline" } </templatedata>}} </noinclude> 3gxtr8js31eovbxcfpv70f42eg2g9xf Template:Color 10 3267 8741 2026-05-23T16:11:47Z Waldyrious 896 Created page with "<span style="color:{{{1|var(--color-success, green)}}}">{{{2|{{{1|colored text}}}}}}</span><noinclude> {{Documentation}} </noinclude>" 8741 wikitext text/x-wiki <span style="color:{{{1|var(--color-success, green)}}}">{{{2|{{{1|colored text}}}}}}</span><noinclude> {{Documentation}} </noinclude> 11jborugnczp5wv73jjhycyp2yr7kbs Template:Color/doc 10 3268 8742 2026-05-23T16:20:28Z Waldyrious 896 Created page with "{{Documentation subpage}} {{tl|color}} can be used to specify the foreground color of a span of text. It supports any values that are valid for the CSS <code>color</code> property, such as [[w:RGB color model|RGB]] hex codes (e.g. <code>#C9E72A</code>), the [[w:web colors|]] (e.g. <code>red</code>, <code>blue</code>, <code>MediumSeaGreen</code>, etc.) or CSS variables (e.g. <code>var(--color-success)</code>). == Usage == * {{tlx|color|name of color or hex code of color|..." 8742 wikitext text/x-wiki {{Documentation subpage}} {{tl|color}} can be used to specify the foreground color of a span of text. It supports any values that are valid for the CSS <code>color</code> property, such as [[w:RGB color model|RGB]] hex codes (e.g. <code>#C9E72A</code>), the [[w:web colors|web colors]] (e.g. <code>red</code>, <code>blue</code>, <code>MediumSeaGreen</code>, etc.) or CSS variables (e.g. <code>var(--color-success)</code>). == Usage == * {{tlx|color|name of color or hex code of color|Text}} For example: * {{tlx|color|red|Hello, world!}} → {{color|red|Hello, world!}} * {{tlx|color|#0000FF|Hello, world!}} → {{color|#0000FF|Hello, world!}} If the second parameter is omitted, the color value is displayed as text: * {{tlx|color|red}} → {{color|red}} * {{tlx|color|#0000FF}} → {{color|#0000FF}} 32ivxcri9hqyrs8m6916638ol41te5t 8743 8742 2026-05-23T16:21:34Z Waldyrious 896 Waldyrious moved page [[Template:Color/sandbox]] to [[Template:Color/doc]]: created under the wrong title by mistake 8742 wikitext text/x-wiki {{Documentation subpage}} {{tl|color}} can be used to specify the foreground color of a span of text. It supports any values that are valid for the CSS <code>color</code> property, such as [[w:RGB color model|RGB]] hex codes (e.g. <code>#C9E72A</code>), the [[w:web colors|web colors]] (e.g. <code>red</code>, <code>blue</code>, <code>MediumSeaGreen</code>, etc.) or CSS variables (e.g. <code>var(--color-success)</code>). == Usage == * {{tlx|color|name of color or hex code of color|Text}} For example: * {{tlx|color|red|Hello, world!}} → {{color|red|Hello, world!}} * {{tlx|color|#0000FF|Hello, world!}} → {{color|#0000FF|Hello, world!}} If the second parameter is omitted, the color value is displayed as text: * {{tlx|color|red}} → {{color|red}} * {{tlx|color|#0000FF}} → {{color|#0000FF}} 32ivxcri9hqyrs8m6916638ol41te5t Template:Color/sandbox 10 3269 8744 2026-05-23T16:21:34Z Waldyrious 896 Waldyrious moved page [[Template:Color/sandbox]] to [[Template:Color/doc]]: created under the wrong title by mistake 8744 wikitext text/x-wiki #REDIRECT [[Template:Color/doc]] id2zv99nhnrbcs8orx87zresh58yq19 Q62 0 3270 8760 2026-05-23T20:36:46Z Arlo Barnes 953 stub, see [[w:en:Abstract Wikipedia#Example]] 8760 abstractwiki text/plain { "qid": "Q62", "sections": { "Q8776414": { "index": 0, "fragments": [ "Z89", { "Z1K1": "Z7", "Z7K1": "Z32962", "Z32962K1": { "Z1K1": "Z18", "Z18K1": "Z825K1" }, "Z32962K2": { "Z1K1": "Z6091", "Z6091K1": "Q515" }, "Z32962K3": { "Z1K1": "Z18", "Z18K1": "Z825K2" } } ] } } } 1zkhzkadogs7glwf9kqjcv47mu1v135 User talk:Waldyrious 3 3271 8761 2026-05-23T21:50:37Z ~2026-30756-30 4125 Created page with "{{subst:Welcome}}~~~~" 8761 wikitext text/x-wiki == Welcome to Abstract Wikipedia! == <div style="border:solid medium lightgrey; border-width: medium; padding: 0.3em 0.5em;"> <div class="lang-en" lang="en"> Hello, Waldyrious. Welcome to '''[[Abstract Wikipedia:About|Abstract Wikipedia]]'''! View the [[Abstract Wikipedia:Community portal|Community portal]] or post to the [[Abstract Wikipedia:Project chat|Project chat]] if you need help with something. Please remember to sign your messages on talk pages by typing four tildes <nowiki>(~~~~)</nowiki>; this will automatically insert your username and the date. Happy editing! </div> </div><!-- Template:Welcome -->[[Special:Contributions/&#126;2026-30756-30|&#126;2026-30756-30]] ([[User talk:&#126;2026-30756-30|talk]]) 21:50, 23 May 2026 (UTC) raw4vbnmbcq3orhoe02yqqprthp3534 Abstract Wikipedia:Sandbox 4 3272 8762 2026-05-23T23:26:10Z YoshiRulz 640 Create redirect 8762 wikitext text/x-wiki #REDIRECT [[Q138864867]] 33j6k5ykmxc57ew8syidhmqwoz656xg User:YoshiRulz/common.css 2 3273 8763 2026-05-24T01:35:49Z YoshiRulz 640 Create stylesheet 8763 css text/css /* legible headings */ .mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { font-family: inherit; } /* widen input fields in composition editors */ .ext-wikilambda-app-field-overrides .cdx-text-input, .ext-wikilambda-app-field-overrides .cdx-text-area, .ext-wikilambda-app-field-overrides .cdx-select, .ext-wikilambda-app-field-overrides .cdx-select-vue, .ext-wikilambda-app-field-overrides .cdx-lookup { max-width: 25em; } /* fix casing in UI component for Z11s */ .ext-wikilambda-app-monolingual-string__chip > span.cdx-info-chip__text { text-transform: lowercase; } ert7ubjreyz9jzsitjb185c3dqv2g7b User talk:Arlo Barnes 3 3274 8764 2026-05-24T02:34:36Z Feeglgeef 36 Created page with "{{subst:Welcome}}~~~~" 8764 wikitext text/x-wiki == Welcome to Abstract Wikipedia! == <div style="border:solid medium lightgrey; border-width: medium; padding: 0.3em 0.5em;"> <div class="lang-en" lang="en"> Hello, Arlo Barnes. Welcome to '''[[Abstract Wikipedia:About|Abstract Wikipedia]]'''! View the [[Abstract Wikipedia:Community portal|Community portal]] or post to the [[Abstract Wikipedia:Project chat|Project chat]] if you need help with something. Please remember to sign your messages on talk pages by typing four tildes <nowiki>(~~~~)</nowiki>; this will automatically insert your username and the date. Happy editing! </div> </div><!-- Template:Welcome -->[[User:Feeglgeef|Feeglgeef]] ([[User talk:Feeglgeef|talk]]) 02:34, 24 May 2026 (UTC) huclcjpsjzk1a9tf6bspvehg9jeooof