Template:Pagestart: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 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 = wikitext
|Sources = list (, ) of Wikitext string
|Page_Identifier = wikitext
|Licenses = list (, ) of Wikitext string
|Author = list (, ) of wikitext
|Date_Created = Date
|Setting = list (, ) of Wikitext string
|Canon = Boolean
|Canon = Boolean
}}
|Pointer = Boolean
</noinclude><includeonly><div class="bctop">{{#if: {{{back|}}}|{{backto|{{{back}}}}}|}}</div><div class="notice">{{{notice|}}}</div><div class="badge">{{{badge|}}}</div>{{pagetitle}}</includeonly><noinclude>
|Published = Boolean
==Syntax==
<!--|Hidden = Boolean-->
<pre>{{Pagestart
|Deprecated = Boolean
|back= <!--backlink-->
|UA = Boolean
|notice= <!--notice templates-->
|User = Boolean
|badge= <!--page badge such as {{5esrd}}-->
|Categories = List (, ) of Wikitext string
}}</pre>
}}</noinclude><includeonly></includeonly><noinclude>
 
==Use==
==Example==
Template to define Cargo table 'Page_Info'. This table hols base information and flags for most of the Rlyehwiki pages.
<pre>{{Pagestart
==Table Fields==
|back={{SRD5|Foo}}
<pre>
|notice={{ambiguous|Bar}}
|Page_Name = Page (unique)
|badge={{5ecc}}
|Page_Title = Wikitext string
}}</pre>
|Page_Identifier = Wikitext string
 
|Sources = Wikitext string
produces...
|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


{{Pagestart
</pre>
|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