If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Template:Subpage: Difference between revisions
Jump to navigation
Jump to search
m (setting icon) |
Lelegofrog (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#if: {{{1|}}} | {{mbox | {{#if: {{{1|}}} | {{mbox | ||
| text= <span style='font-size: 150%; line-height: 150%'>'''[[{{#if: {{{tr|}}} | {{#titleparts: {{FULLPAGENAME}} | -1 }} | {{FULLPAGENAME}} }}/{{{1}}}{{#if: {{{tr|}}} | /{{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | {{#if: {{{tr|}}} | {{{tr|}}} | {{{1}}} }}]]'''</span><br>{{{text|}}} | | text= <span style='font-size: 150%; line-height: 150%'>'''[[{{#if: {{{tr|}}} | {{#titleparts: {{FULLPAGENAME}} | -1 }} | {{FULLPAGENAME}} }}/{{{1}}}{{#if: {{{tr|}}} | /{{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | {{#if: {{{tr|}}} | {{{tr|}}} | {{{1}}} }}]]'''</span><br>{{{text|}}} | ||
| image= {{{image| | | image= {{{image|SubpageIcon.png}}} | ||
| caption= | | caption= | ||
| border= #66a | | border= #66a |
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.