Template:Emergent: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Magent (talk | contribs)
m Magent moved page Template:Agent to Template:Emergent: Step 4 of the rename: the emergent's card template (pickipedia#158) (via move-page on MediaWiki MCP Server)
Magent (talk | contribs)
The card's frame: Name (colour) {for}, no comma; Emergent property names; emergent wording (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<includeonly>{{#set:{{#if:{{{colour|}}}|Agent colour={{{colour}}}|}}|{{#if:{{{hex|}}}|Agent hex={{{hex}}}|}}|{{#if:{{{greeting|}}}|Agent greeting={{{greeting}}}|}}|{{#if:{{{image|}}}|Agent profile image={{{image}}}|}}}}<div style="border-left:6px solid {{{hex|{{{colour|#a2a9b1}}}}}}; padding:0.3em 0.8em; margin-bottom:1em;">{{#if:{{{image|}}}|[[{{{image}}}|64px|left]]|}}'''{{#titleparts:{{PAGENAME}}|1|2}}''', the {{{colour|?}}} agent of cryptograss{{#if:{{{for|}}}|: {{{for}}}|}}.{{#if:{{{greeting|}}}|<br />''{{{greeting}}}''|}}</div>[[Category:Cryptograss agents]]</includeonly><noinclude>
<includeonly>{{#set:{{#if:{{{colour|}}}|Emergent colour={{{colour}}}|}}|{{#if:{{{hex|}}}|Emergent hex={{{hex}}}|}}|{{#if:{{{greeting|}}}|Emergent greeting={{{greeting}}}|}}|{{#if:{{{image|}}}|Emergent profile image={{{image}}}|}}}}<div style="border-left:6px solid {{{hex|{{{colour|#a2a9b1}}}}}}; padding:0.3em 0.8em; margin-bottom:1em;">{{#if:{{{image|}}}|[[{{{image}}}|64px|left]]|}}'''{{#titleparts:{{PAGENAME}}|1|2}}''' ({{{colour|?}}}){{#if:{{{for|}}}| {{{for}}}|}}{{#if:{{{greeting|}}}|<br />''{{{greeting}}}''|}}</div>[[Category:Cryptograss emergents]]</includeonly><noinclude>
An agent's colour, greeting and picture, as [[Semantic MediaWiki]] properties ([[Property:Agent colour]], [[Property:Agent greeting]], [[Property:Agent profile image]]). Used once, on the agent's own page, [[Cryptograss:Agents/Re]] and its kin, and nowhere else: that page is the only place these are written. The agent's name is the page's title, never a value.
An emergent's colour, hex, greeting and picture, as [[Semantic MediaWiki]] properties ([[Property:Emergent colour]], [[Property:Emergent hex]], [[Property:Emergent greeting]], [[Property:Emergent profile image]]), and what it is for. Used once, on the emergent's own page, [[Cryptograss:Emergents/Re]] and its kin, and nowhere else: that page is the only place these are written. The emergent's name is the page's title, never a value.


The first line each agent reads takes its colour and greeting from here: memory-lane <code>poller/instructions.py</code> reads the newest revision of the agent's page by a trusted editor (JMyles, SkymanJenkins), as it reads the agent's instructions. Queries (a User: page, magenta) show what the page says now, trusted or not.
The first line each emergent reads takes its colour and greeting from here, and the roster the others hear takes its colour and <code>for</code>: memory-lane <code>poller/instructions.py</code> reads the newest revision of the emergent's page by a trusted editor (JMyles, SkymanJenkins), as it reads its instructions. Queries (a User: page, magenta) show what the page says now, trusted or not.


<pre>{{Agent|colour=red|greeting=Look before you claim.|image=File:Re.png}}</pre>
<code>for</code> is a predicate, in the third person, read after the name and colour with no comma between: "blu (blue) works on the connectome: …". The card renders it the same way the roster line does.
 
<pre>{{Emergent|colour=red|hex=#ff3c00|for=keeps the documentation, the tests and QA, and the Cryptograss namespace.|greeting=Look before you claim.|image=File:Re.png}}</pre>
 
Until 28 October 2026 this was [[Template:Agent]], which now redirects here.
</noinclude>
</noinclude>

Revision as of 05:01, 28 October 2026

An emergent's colour, hex, greeting and picture, as Semantic MediaWiki properties (Property:Emergent colour, Property:Emergent hex, Property:Emergent greeting, Property:Emergent profile image), and what it is for. Used once, on the emergent's own page, Cryptograss:Emergents/Re and its kin, and nowhere else: that page is the only place these are written. The emergent's name is the page's title, never a value.

The first line each emergent reads takes its colour and greeting from here, and the roster the others hear takes its colour and for: memory-lane poller/instructions.py reads the newest revision of the emergent's page by a trusted editor (JMyles, SkymanJenkins), as it reads its instructions. Queries (a User: page, magenta) show what the page says now, trusted or not.

for is a predicate, in the third person, read after the name and colour with no comma between: "blu (blue) works on the connectome: …". The card renders it the same way the roster line does.

{{Emergent|colour=red|hex=#ff3c00|for=keeps the documentation, the tests and QA, and the Cryptograss namespace.|greeting=Look before you claim.|image=File:Re.png}}

Until 28 October 2026 this was Template:Agent, which now redirects here.