Template:GreyNote: Difference between revisions
Jump to navigation
Jump to search
XenoEngineer (talk | contribs) No edit summary |
XenoEngineer (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
=== How to include this template in another wiki page, and pass text parameters=== | |||
;Within a wiki page, edit and insert this wiki-text: | |||
<nowiki> | <nowiki> | ||
{{GreyNote | {{GreyNote | ||
Line 13: | Line 14: | ||
| msg = "This is a message on that note." | | msg = "This is a message on that note." | ||
}} | }} | ||
</nowiki> | |||
;Which is a valid style, or... | |||
<nowiki>{{ GreyNote | title = "My note title" | msg = "This is a message on that note." }}</nowiki> | |||
{{ GreyNote | title = "My note title" | msg = "This is a message on that note." }} | |||
;which is this when spaces are removed... | |||
<nowiki> | |||
{{GreyNote|title="My note title"|msg="This is a message on that note."}} | {{GreyNote|title="My note title"|msg="This is a message on that note."}} | ||
</nowiki> | </nowiki> | ||
</noinclude> | </noinclude> |
Revision as of 10:00, 25 July 2023
How to include this template in another wiki page, and pass text parameters
- Within a wiki page, edit and insert this wiki-text
{{GreyNote | title = "My note title" | msg = "This is a message on that note." }}
- Which is a valid style, or...
{{ GreyNote | title = "My note title" | msg = "This is a message on that note." }}
- which is this when spaces are removed...
{{GreyNote|title="My note title"|msg="This is a message on that note."}}