Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Template:Subpage: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
==Usage==
==Usage==
If you want to point out that this is a subpage of another one, just use <nowiki>{{subpage}}</nowiki>. If you want to '''link''' to a subpage, use it like this:
If you want to point out that this is a subpage of another one, just use <nowiki>{{subpage}}</nowiki>. If you want to '''link''' to a subpage, use it like this:
 
<pre>
{{subpage|Name|text=Text}}
{{subpage|Name|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width}}
 
</pre>


Only the subpage name is mandatory.
Only the subpage name is mandatory.

Latest revision as of 04:51, 20 May 2024


Usage

If you want to point out that this is a subpage of another one, just use {{subpage}}. If you want to link to a subpage, use it like this:

{{subpage|Name|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width}}

Only the subpage name is mandatory.

  • Name is the name of the subpage.
  • Text is a small description of its contents. Usually has a humorous sentence.
  • Image is a related picture, sometimes one of the most interesting items on that subpage.
  • Width is the image's width. Default is 50px.
  • Align is the image's align. Default is center.
  • Min-width is the image's minimum width. Default is 50px.
  • tr is the translated title, and is to be only used in translations of pages. Using it outside of these will break it brilliantly.