Template:Participant: Difference between revisions

1,648 bytes added ,  19:31, 12 November 2022
→‎Discord: new section
No edit summary
(→‎Discord: new section)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
</noinclude><includeonly>
</noinclude><includeonly>
{{#set:Interested In={{#ask:[[Has Interested Participant::{{SUBJECTPAGENAME}}]]|?=#}}|+sep=,}}
{{#set:Interested In={{#ask:[[Has Interested Participant::{{SUBJECTPAGENAME}}]]|?=#}}|+sep=,}}
{{#set:Member Of={{#ask:[[Has Member::{{SUBJECTPAGENAME}}]]|?=#}}|+sep=,}}
{{#set:Member of={{#ask:[[Has Member::{{SUBJECTPAGENAME}}]]|?=#}}|+sep=,}}
{{#set:Interested In={{{Interests|}}}|+sep=,}}
{{#set:Interested In={{{Interests|}}}|+sep=,}}
{{#set:Member Of={{{Group|}}}|+sep=,}}
{{#set:Member of={{{Group|}}}|+sep=,}}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
Line 39: Line 39:
|-
|-
! Group(s)
! Group(s)
| {{#show:{{SUBJECTPAGENAME}}|?Member Of}}
| {{#show:{{SUBJECTPAGENAME}}|?Member of}}


{{#if:{{{Table Assignment|}}}|
{{#if:{{{Table Assignment|}}}|
Line 89: Line 89:
[[Category:Participant]]
[[Category:Participant]]
</includeonly>
</includeonly>
== Discord ==
{{Message
|Author=sneakers-the-rat
|Avatar=https://cdn.discordapp.com/avatars/305044217393053697/2970b22bd769d0cd0ee1de79be500e85.png?size=1024
|Date Sent=22-11-12 19:32:48
|Channel=discourse-modeling
|Text=[[Page Schemas#Creating a new Schema]]
Page schemas is mostly a handy way to generate boilerplate templates and link them to semantic properties. A Form (using [[Page Forms]] is something that is an interface for filling in values for a template.
For an example of how this shakes out, see
[[:Category:Participant]]
[[Template:Participant]]
[[Form:Participant]]
* go to a `Category:CategoryName` page, creating it if it doesn't already exist.
* Click "Create schema" in top right
* If you want a form, check the "Form" box. it is possible to make a schema without a form. The schema just defines what pages will be generated, and the generated pages can be further edited afterwards (note that this might make them inconsistent with the schema)
* Click "add template" If you are only planning on having one template per category, name the template the same thing as the category.
* Add fields! Each field can have a corresponding form input (with a type, eg. a textbox, token input, date selector, etc.) and a semantic property.
* Once you're finished, save the schema
* Click "Generate pages" on the category page. Typically you want to uncheck any pages that are already bluelinks so you don't overwrite them. You might have to do the 'generate pages' step a few times, and it can take a few minutes, bc it's pretty buggy.
|Link=https://discord.com/channels/1029514961782849607/1038988750677606432/1041073096687370250
}}