Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Nfoot: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>D. Cello
Created page with '<div style="clear:both; border-top: 1px dashed #AAA; text-align:right; margin: 0.6em auto 1.2em;"> {{#ifeq:{{{2|{{{source|}}}}}}|||<div style="text-align:left; float:left;">'''So…'
 
imported>D. Cello
No edit summary
Line 1: Line 1:
<div style="clear:both; border-top: 1px dashed #AAA; text-align:right; margin: 0.6em auto 1.2em;">
<div style="clear:both; border-top: 1px dashed #AAA; text-align:right; margin: 0.6em auto 1.2em;">
{{#ifeq:{{{2|{{{source|}}}}}}|||<div style="text-align:left; float:left;">'''Source:''' {{{2|{{{source}}}}}}</div>}}'''posted on:''' {{{1|{{{date}}}}}}</div><!--
{{#ifeq:{{{2|{{{source|}}}}}}|||<div style="text-align:left; float:left;">'''Source:''' {{{2|{{{source}}}}}}</div>}}'''posted on:''' {{{1|{{{date}}}}}}</div>
[[Category:News]]<!--
--><noinclude>
--><noinclude>
{{documentation}}
{{documentation}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 01:20, 25 April 2010

posted on: {{{date}}}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Nfoot/doc to edit this documentation. (How does this work?)

Template for the footer in news blogs.

Usage

Date only

{{nfoot|~~~~~}}

or

{{nfoot|date=~~~~~}}

Date and source

{{nfoot|~~~~~|Source}}

or

{{nfoot|date=~~~~~|source=Source}}

Known issues & workarounds

If the source link contains an equals sign (=), you must use named parameters (i.e. "source=") - otherwise the source will not show. This is due to the way the wiki parser works.

Examples

Date only

{{nfoot|~~~~~}}

results in:

posted on: 21:24, 25 July 2009 (UTC)

Date and source

{{nfoot|~~~~~|[http://assassinscreed.wikia.com Assassin's Wiki]}}

results in:

posted on: 21:24, 25 July 2009 (UTC)
The contents of this page were based partially or completely from a similar at The Vault.