Difference between revisions of "Template:Christory Entry"

From CWCki
Jump to navigation Jump to search
(New page: <div style="float:left;margin-right:0.9em"> [[Image:{{{imagename}}}|200px|left|{{{imagecaption}}}]] {{{text}}} ('''[[{{{link}}}|more...]]''') </div> <includeonly>[[Category:Day in Chr...)
 
m
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="float:left;margin-right:0.9em">
<includeonly>[[Image:{{{imagename}}}|200px|left|{{{imagecaption}}}]]
 
[[Image:{{{imagename}}}|200px|left|{{{imagecaption}}}]]


{{{text}}}
{{{text}}}


('''[[{{{link}}}|more...]]''')
('''[[{{{link}}}|more...]]''')
</includeonly>
<noinclude>{{usage|1= This template is used in the creation of the templates for each day of [[Template:Christory|Christory]]. It helps ensure the formatting of each day template is consistent, which also makes them easier to create and edit. A list of all the day templates can be found on the [[Template:Christory|Christory template]]. The format for using this template is as follows:<br />
'''<nowiki>{{</nowiki>Christory Entry'''<br />
'''{{!}}imagename''' = Imagename.jpg'''<br />
'''{{!}}imagecaption''' = lolwut'''<br />
'''{{!}}text''' = Today in Christory, in <nowiki>'''[[200x]]'''</nowiki>, something happened'''<br />
'''{{!}}link''' = Mainarticlename
'''<nowiki>}}</nowiki>'''<br />


</div>
If more than one significant event happened on the same day, you can add some text about it using [[Template:Christory Entry Addition]]. This template can be placed directly after the standard Christory Entry template above:<br />


<includeonly>[[Category:Day in Christory]]</includeonly>
'''<nowiki>{{</nowiki>Christory Entry Addition'''<br />
<noinclude>==Parameters==
'''{{!}}text''' = Today was also the day, in <nowiki>'''[[200x]]'''</nowiki>, that something else happened'''<br />
image = image name, i.e. CWCVoid03.jpg
'''{{!}}link''' = Mainarticlename
imagecaption = what displays under the image, i.e. lolwut
'''<nowiki>}}</nowiki>'''}}
text = the main body of the template. should be along the same lines as the featured article template.
link = name of article that "more..." links to
==Example==
==Example==
{{Christory Entry
{{Template:Christory Entry
|image = CWCVoid03.jpg
|imagename = CWCVoid03.jpg
|imagecaption = lolwut
|imagecaption = lolwut
|text = Today in Christory, blah blah blah
|text = Today in Christory, in '''[[2010]]''', something happened.
|link = Main Page
|link = Main Page
}}
}}
[[Category:Day in Christory|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:26, 6 December 2010

Usage

These usage notes will not be included in articles bearing this template.

This template is used in the creation of the templates for each day of Christory. It helps ensure the formatting of each day template is consistent, which also makes them easier to create and edit. A list of all the day templates can be found on the Christory template. The format for using this template is as follows:

{{Christory Entry
|imagename = Imagename.jpg
|imagecaption = lolwut
|text = Today in Christory, in '''[[200x]]''', something happened
|link = Mainarticlename }}

If more than one significant event happened on the same day, you can add some text about it using Template:Christory Entry Addition. This template can be placed directly after the standard Christory Entry template above:

{{Christory Entry Addition
|text = Today was also the day, in '''[[200x]]''', that something else happened
|link = Mainarticlename }}


Example

lolwut

Today in Christory, in 2010, something happened.

(more...)