Anonymous
×
Create a new article
Write your page title here:
We currently have 1,806 articles on Everwind Wiki. Type your article name above or click on one of the titles below and start writing!



Everwind Wiki
1,806Articles

Template:Documentationpage: Difference between revisions

en>Jundie
Created page with "<onlyinclude><!-- -->{{directionbox |image =Icon template doc.svg |text =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates bas..."
 
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


-->{{directionbox
-->{{directionbox
|image =Icon template doc.svg
|image =Icon template doc.png
|text  =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates based on|usage information for}} '''{{#if:{{{page|}}}{{{1|}}}|[[{{#if:{{{page|}}}|{{{page|}}}|{{{1|}}}}}]]|[[{{#sub:{{FULLPAGENAME}}|0|{{#ifeq:{{#rpos:{{FULLPAGENAME}}|/doc}}|-1||{{#rpos:{{FULLPAGENAME}}|/doc}}}}}}]]}}'''.
|text  =This page contains {{#ifeq:{{lc:{{{type|}}}}}|standard|the standard documentation for all templates based on|usage information for}} '''{{#if:{{{page|}}}{{{1|}}}|[[{{#if:{{{page|}}}|{{{page|}}}|{{{1|}}}}}]]|[[{{#sub:{{FULLPAGENAME}}|0|{{#ifeq:{{#rpos:{{FULLPAGENAME}}|/doc}}|-1||{{#rpos:{{FULLPAGENAME}}|/doc}}}}}}]]}}'''.
}}<!--
}}<!--

Latest revision as of 03:13, 21 May 2021

This page contains usage information for [[{{#sub:Template:Documentationpage|0|{{#rpos:Template:Documentationpage|/doc}}}}]].
Template documentation (for the above template, sometimes hidden or invisible)

For use on template documentation pages. Adds header and category.

Based on {{directionbox}}.

Usage

Place the following at the top of the documentation page:

<noinclude>{{Documentationpage}}</noinclude>

Parameters

(default: "First part of {{PAGENAME}}")
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1> // page|| }}| >> | up to }}| // | or }}| ++ |, }}
Name of the page the documentation page belongs to.
(default: "default")
{{#replace:{{#replace:{{#replace:{{#replace:type|| }}| >> | up to }}| // | or }}| ++ |, }}
Allows to specify the type of documentation page and alters display text accordingly.

Available options:

  • default: This page is a normal documentation page.
  • standard: This page is a standard documentation page for all templates based on a specific meta template.