Template:Subpage link: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added display text parameter) |
TheOnlyZac (talk | contribs) (Deleted parameter 2) |
||
Line 2: | Line 2: | ||
| name= Template:Subpage link |
| name= Template:Subpage link |
||
| image= {{{image|[[File:Bentley icon.png|50px]]}}} |
| image= {{{image|[[File:Bentley icon.png|50px]]}}} |
||
| text= '''[[{{FULLPAGENAME}}/{{{1}}} |
| text= '''[[{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]'''{{#if: {{{2|}}}|<br/>{{{2}}}|}} |
||
| style= border-radius: 7px !important; border: 2px solid rgba(0,0,0,0.4); |
| style= border-radius: 7px !important; border: 2px solid rgba(0,0,0,0.4); |
||
| textstyle= padding: 5px; |
| textstyle= padding: 5px; |
Latest revision as of 12:23, 24 August 2022
[[Template:Subpage link/{{{1}}}|{{{1}}}]] |
Use this mbox template to link to a subpage of the current page.
Usage
{{Subpage link|Subpage name|Description|image=[[File:Image.png|50px]]}}
unnamed 1
- The name of the subpage to link to
unnamed 2
- The subtitle text to display below the link.
image
- An image to use as the icon. Use the full image syntax.
Example
{{Subpage link|Test subpage|An example subpage for demonstrating this template.|image=[[File:Clue icon.png|50px]]}}
Test subpage An example subpage for demonstrating this template. |