Contributing to the CCAI Wiki: Difference between revisions

Content added Content deleted
(→‎Contributing: minor wording changes)
Line 92: Line 92:


=== Templates for New Pages and Sections ===
=== Templates for New Pages and Sections ===
Once the page is created, we demand the pages to follow a specific structure. You can create this structure manually by simply copying the headings from another page or using a template. Templates are specific keywords that expand to wiki text. For complete pages, you can use the following two templates to create the headings as demanded automatically:
Once the page is created, we demand the pages to follow a specific structure. You need to create this structure manually by simply copying the headings from either any other page or you can copy it from either the [[Template:Subpage|Subpage template]] or the [[Template:ApplicationArea|template for application areas]]. To do so, you can simply click "Edit Source" on the template page, then highlight all text and copy it to your clip board and then click "Edit Source" on your newly created page and paste the content. Double-check that the correct headers have been created.
* '''<nowiki>{{Subpage}}</nowiki>''' for Subpages, and
* '''<nowiki>{{ApplicationArea}}</nowiki>''' for application area pages.


These templates include additional templates that may be useful for pages or sections that are work in progress:
Note, that those templates contain tags that can expand to Wiki text. These are useful to indicate work in progress for pages or sections that are work in progress:
* '''<nowiki>{{Disclaimer}}</nowiki>:''' A note at the beginning to make sure people don't confuse CCAI Wiki with Wikipedia (or other Wikis), expanding to: {{Disclaimer}}
* '''<nowiki>{{Disclaimer}}</nowiki>:''' A note at the beginning to make sure people don't confuse CCAI Wiki with Wikipedia (or other Wikis), expanding to: {{Disclaimer}}
* '''<nowiki>{{Stub}}</nowiki>:''' A note for pages with missing content, expanding to: {{Stub}}
* '''<nowiki>{{Stub}}</nowiki>:''' A note for pages with missing content, expanding to: {{Stub}}
* '''<nowiki>{{SectionStub}}</nowiki>:''' A Note for individual sections with missing content, expanding to: {{SectionStub}}
* '''<nowiki>{{SectionStub}}</nowiki>:''' A Note for individual sections with missing content, expanding to: {{SectionStub}}


A template can be included as follows:
Such a tag can be included as follows:
* In the visual WYSIWYG editor: Insert > Template > search “<Name of Template>” (E.g. "Stub") > Insert;
* In the visual WYSIWYG editor: Insert > Template > search “<Name of Template>” (E.g. "Stub") > Insert;
* In the source editor: Use the double curly bracket notation <nowiki>{{<Name of Template>}}</nowiki> (e.g., "<nowiki>{{Disclaimer}}</nowiki>")
* In the source editor: Use the double curly bracket notation <nowiki>{{<Name of Template>}}</nowiki> (e.g., "<nowiki>{{Disclaimer}}</nowiki>")