Help:Article Structure

From iGeek
Article StructureBottom Template
Understanding how to create or edit an article. What is the overlying structure of it, and what should you add?
Understanding how to create or edit an article. What is the overlying structure of it, and what should you add? The basics are you can just use Form:Item to create a page. Just fill in as much metadata as you can, and you'll have something. But understanding what it looks like underneath will help with editing.
ℹ️ Info          
~ Aristotle Sabouni
Forms or Edit Source
We can create articles from a Form (Item is the most common type), just fill out the fields, with the Content and it will create the structure of an article for you. But it helps to know what that structure is if you Edit (or "Edit Source") on an article. I will explain the structure/what it's doing.
  • Edit - is a visual editor, and lets you edit the text (copy) more WYSIWG (What You See Is What You Get), but it's trickier to deal with a lot of the tempates and more powerful features of the site.
  • Edit Source - is the traditional editor where you see both the text (copy) and the formatting directives (macros/templates) that tell it how it will look. It is less "pretty", but you see all the directives on how something should be formatted.
{{+Page_Template}}
Body
{{-Page_Template}}
Basics Parts
There's a lot more to the (+)beginning and (-)ending templates. They often have multiple parameters (values) set, that set (Metadata or define how contents will be formatted. The important part is that things wrapped in {{ and }} are special pages (templates), with optional paramaters, that tell the system how the content should be displayed.
{{+Page_Template}} 
<onlyinclude>
Body
</onlyinclude>
{{-Page_Template}}
  • Inclusion tags Some pages include other pages, or parts of them. (This is called "transclusion").
    • Since we don't want the entire page included (or you'd have multiple headers and footers on any page that included another page) we wrap text we want to exclude or include with tags to tell the system whether this should be included or not.<
    • The most common example is using the <onlyinclude></onlyinclude> tag to hint that only include the stuff between those tags (and ignore/exclude) everything outside of them.


GeekPirate.small.png



🔗 More

Main Page
The root of all evil... and the home page for this website.

Help
This is the root of the help pages. These vary from simple to detailed programming



Cookies help us deliver our services. By using our services, you agree to our use of cookies.