Help:Editing
Basics of Editing Articles on this website.
~ Aristotle Sabouni |
Here is a bunch of examples of how to do formatting / use templates in this site:
Basics[edit | edit source]
There are multiple templates, items or data elements that help define an article in this CMS
- Create an article/item by picking a from a Form & add in all the fields and data (including the content)
- An articles structure is generally:
- a start-template {{+Item|...}}
- Body Text
- an end-template{{-Item|...}}
- The majority of articles are an "Form:Item", and there are multiple subclasses of articles, or attributes you can add. Like if you add Review information, an Item is a Review. If you add a "Choice" item, it can be displayed in other pages as a "Choice" that optionally links back to this article. And so on.
- But there are a few dedicated types that we can get into more later, like:
- a "Form:Quote" - is a quote by someone
- a "Form:Meme" - is a Meme
- etc.
Let's break those down more.
Start Template[edit | edit source]
🗒️ Note: |
---|
All templates are wrapped in {{ }} tags to mark them, and they will have multiple parameters, separated by usually a linebreak for easier reading and always a pipe character | then a variable name and equals value. |
The start template Template:+Item is going to have a lot of parameters for the article: {{+Item | Type = Article, Quote, Review, Humor, Slide, Term, Meme | Image = File (220px thumbnail)(440px for slide) | 1Line = 1 line description for bullet views or small views | Description = 200 character short desciption (for longer views or inclusions
It's easier to edit them with a Form, than directly. But either works.
More[edit | edit source]
Embed[edit source]
This template engine (CMS) allows you to embed indexes of pages, or the contents of an individual page, into another page. Indexes vary from low density but high information (like all the contents of all pages that match a category), down to high density but low information (like just the title/page name, in a multi-column list).
Usage is to default for the high information and low density to reduce numbers of clicks and add value to a page -- you might get all you need from the summary or contents of another article without having to click to that page. But as the page becomes too large (and slow to load) as you have too much information on it, you start reducing the information. So:
|
Related Article[edit source]
{{+Item |Type=Article |Image= |1Liner= |Summary= |By=Aristotle Sabouni |Created= }} <onlyinclude> {{:U.S. Massacres/Seal Beach}} {{Show Articles|[[U.S. Massacres/Seal Beach]]}} {{Show Massacres|[[U.S. Massacres/Seal Beach]]}} </onlyinclude> {{-Item |Links= |Categories=People, U.S. Massacres/Seal Beach }} |
SMW-Basics[edit source]
SMW Links go here. |
Help:Templates[edit source]
🔗 More
| |
| |