Template:Blog

From ErfWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
<includeonly>{{#ifeq: {{{inline|no}}} | yes | | <sup class="plainlinks">}}[http://www.erfworld.com/{{{1}}}/{{{2}}}/{{{3}}} <span title="Blog Entry {{{3}}}, {{{2}}}/{{{1}}}">{{{4|{{{3}}} }}}</span>]{{#ifeq: {{{inline|no}}} | yes | | </sup>}}[[Image:external.png]]</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude>
+
<includeonly>{{#ifeq: {{{inline|no}}} | yes | | <sup class="plainlinks">}}[http://www.erfworld.com/{{{1}}}/{{{2}}}/{{{3}}} <span title="Blog Entry {{{3}}}, {{{2}}}/{{{1}}}">{{{4|{{{3}}} }}}</span>][[Image:external.png]]{{#ifeq: {{{inline|no}}} | yes | | </sup>}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}</noinclude>

Latest revision as of 19:51, 12 May 2012

Documentation is at Template:Blog/doc. edit

For references to the Erfworld Blog.

[edit] Usage

As a citation: {{blog|year|month|title}}.
As an inline link: {{blog|year|month|title|display-text|inline=yes}}

[edit] Example

{{blog|2009|08|summer-updates-025}} would display summer-updates-025 External.png.
{{blog|2009|08|summer-updates-025|This is an example|inline=yes}} would display This is an exampleExternal.png.

For references with 4 components ( e.g. http://www.erfworld.com/2009/10/page/9/ ), use Template Blog2.

Go To:
Personal tools