Weekly zine/MoS: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (added full examples.)
m (→‎Lead: oopss, code was left off.)
Line 19: Line 19:
<onlyinclude>
<onlyinclude>
* First item summary.
* First item summary.
* Second item summary ''[[{{subst:PAGENAME}}|.. See Full Article]]''</includeonly>
* Second item summary <includeonly>''[[{{subst:PAGENAME}}|.. See Full Article]]''</includeonly>
</onlyinclude>
</onlyinclude>
Some links to a few more: [[Software]]
Some links to a few more: [[Software]]

Revision as of 04:37, 6 February 2008

Manual of Style

Location

Let's say that [[User:Alice]] is writing an article Bar. If she was writing for issue 'Foo' of the zine, she would put her article on Weekly Zine/Foo/Bar.

Lead

Each article should start with a lead. This should be short and concise, about 3-5 sentances.

The lead should be enclosed in <onlyinclude> and </onlyinclude> tags, so that it is transcluded to the master zine page (in this case [[Weekly Zine/Foo]]).

If you need to go into detail, be sure to add the following snippet after the </includeonly> tag:

<includeonly>''[[{{subst:PAGENAME}}|Full Article]]''</includeonly>

and continue to write the article.


Full example to start any article page:

 <onlyinclude>
 * First item summary. 
 * Second item summary <includeonly>''[[{{subst:PAGENAME}}|.. See Full Article]]''</includeonly>
 </onlyinclude>
 Some links to a few more: [[Software]]
 ----

Which will in turn looks something like this.. in the main index.

* First item summary. 
* Second item summary .. See Full Article