Template:Fanfic

From Arcen Wiki
Revision as of 18:06, 31 January 2015 by Zogheen (talk | contribs) (4 revisions: Taken from http://www.uesp.net)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template is used to create new entries on the Fanfiction page.

Parameters

Fanfic
Parameter Scope Description

{{#splitargs:Parameters/Line|3}}

Examples

{{Fanfic|Subpage|Example|This humorous story easily rivals the greatest works ever made by such authors as Homer, James Joyce, and Douglas Adams.}}

<cleanspace> {{#define:link|Subpage}} {{#define:user|Example}} {{#define:desc|This humorous story easily rivals the greatest works ever made by such authors as Homer, James Joyce, and Douglas Adams.}} {{#define:info|}} {{#local:link|

 {{#local:user2|{{#replace:{{{user}}}|Special:Contributions/|User:}}}}
 {{#local:user2|{{#explode:{{{user2}}}|||0}}}}
 {{#local:user2|{{#explode:{{{user2}}}|:|1}}|if={{#pos:{{{user2}}}|:}}}}
 [[User:{{{user2}}}/{{{link}}}|{{{link}}}]]
 |ifnot={{#pos:+{{{link}}}|[}}

}} </cleanspace>

  • {{{link}}}by {{#define:word| {{{user}}} }}{{#define:label| {{{word}}} }}{{#inherit:ns_base}}{{#define:ns_base| Template:NS BASE }}{{{word}}}
{{{desc}}}
{{Fanfic|[[User:Example/Subpage|The Greatest Work Ever Written]]|Example|This humorous story easily rivals the greatest works ever made by such authors as Homer, James Joyce, and Douglas Adams.|Discontinued}}

<cleanspace> {{#define:link|The Greatest Work Ever Written}} {{#define:user|Example}} {{#define:desc|This humorous story easily rivals the greatest works ever made by such authors as Homer, James Joyce, and Douglas Adams.}} {{#define:info|Discontinued}} {{#local:link|

 {{#local:user2|{{#replace:{{{user}}}|Special:Contributions/|User:}}}}
 {{#local:user2|{{#explode:{{{user2}}}|||0}}}}
 {{#local:user2|{{#explode:{{{user2}}}|:|1}}|if={{#pos:{{{user2}}}|:}}}}
 [[User:{{{user2}}}/{{{link}}}|{{{link}}}]]
 |ifnot={{#pos:+{{{link}}}|[}}

}} </cleanspace>

  • {{{link}}}by {{#define:word| {{{user}}} }}{{#define:label| {{{word}}} }}{{#inherit:ns_base}}{{#define:ns_base| Template:NS BASE }}{{{word}}}
{{{desc}}}