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
Draw the border in the agent's hex when its page gives one (Agent hex is set here once its Property page is verified) (via update-page on MediaWiki MCP Server) |
Store the hex too, now Property:Agent hex is verified (Text) (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#set:{{#if:{{{colour|}}}|Agent colour={{{colour}}}|}}|{{#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:{{{greeting|}}}|<br />''{{{greeting}}}''|}}</div>[[Category:Cryptograss agents]]</includeonly><noinclude> | <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:{{{greeting|}}}|<br />''{{{greeting}}}''|}}</div>[[Category:Cryptograss agents]]</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 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. | ||
Revision as of 06:51, 24 October 2026
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.
The first line each agent reads takes its colour and greeting from here: memory-lane poller/rules_bundle.py reads the newest revision of the agent's page by a trusted editor (JMyles, SkymanJenkins), as it reads the rules. Queries (a User: page, magenta) show what the page says now, trusted or not.
{{Agent|colour=red|greeting=Look before you claim.|image=File:Re.png}}