Template:Pagestart: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- Cargo Table -->
<!-- Cargo Table -->
{{#cargo_declare:
{{#cargo_declare:
_table = Page_Info
_table = Pages_Info
|Page_Name = Page
|Page_Title = Wikitext string
|Page_Title = string
|Sources = list (, ) of Wikitext string
|Page_Identifier = string
|Licenses = list (, ) of Wikitext string
|Author = list (, ) of wikitext
|Date_Created = Date
}}
|Setting = list (, ) of Wikitext string
</noinclude><includeonly><div class="bctop">{{#if: {{{back|}}}|{{backto|{{{back}}}}}|}}</div><div class="notice">{{{notice|}}}</div><div class="badge">{{{badge|}}}</div>{{pagetitle}}</includeonly><noinclude>
|Canon = Boolean
==Syntax==
|Pointer = Boolean
<pre>{{Pagestart
|Published = Boolean
|back= <!--backlink-->
<!--|Hidden = Boolean-->
|notice= <!--notice templates-->
|Deprecated = Boolean
|badge= <!--page badge such as {{5esrd}}-->
|UA = Boolean
}}</pre>
|User = Boolean
|Categories = List (, ) of Wikitext string
}}</noinclude><includeonly></includeonly><noinclude>
==Use==
Template to define Cargo table 'Page_Info'. This table hols base information and flags for most of the Rlyehwiki pages.
==Table Fields==
<pre>
|Page_Name = Page (unique)
|Page_Title = Wikitext string
|Page_Identifier = Wikitext string
|Sources = Wikitext string
|Licenses = list (, ) of Wikitext string
|Date_Created = Date
|Setting = list (, ) of Wikitext string
|Canon = Boolean
|Pointer = Boolean
|Published = Boolean
|Deprecated = Boolean
|UA = Boolean
|User = Boolean
|Categories = List (, ) of Wikitext string


==Example==
</pre>
<pre>{{Pagestart
|back={{SRD5|Foo}}
|notice={{ambiguous|Bar}}
|badge={{5ecc}}
}}</pre>
 
produces...
 
{{Pagestart
|back={{SRD5|Foo}}
|notice={{ambiguous|Bar}}
|badge={{5ecc}}
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:02, 13 August 2022

This template defines the table "Pages_Info". View table.

Use

Template to define Cargo table 'Page_Info'. This table hols base information and flags for most of the Rlyehwiki pages.

Table Fields

|Page_Name = Page (unique)
|Page_Title = Wikitext string
|Page_Identifier = Wikitext string
|Sources = Wikitext string
|Licenses = list (, ) of Wikitext string
|Date_Created = Date
|Setting = list (, ) of Wikitext string
|Canon = Boolean
|Pointer = Boolean
|Published = Boolean
|Deprecated = Boolean
|UA = Boolean
|User = Boolean
|Categories = List (, ) of Wikitext string