Wiki/Transclusion: Difference between revisions
Jump to navigation
Jump to search
Create page, with subheaders for deep-linking |
→OnlyInclude: add example -- copyable |
||
| Line 11: | Line 11: | ||
* [[EIN]]: {{:EIN}} (<code><nowiki>[[EIN]]: {{:EIN}}</nowiki></code>), and | * [[EIN]]: {{:EIN}} (<code><nowiki>[[EIN]]: {{:EIN}}</nowiki></code>), and | ||
* [[Mailing Address]]: {{:Mailing Address}} | * [[Mailing Address]]: {{:Mailing Address}} | ||
===OI: Worked example=== | |||
* [[Mailing List]]: | |||
<nowiki> | |||
==[[Onlyinclude]]d== | |||
<onlyinclude> | |||
Noisebridge | |||
2261 Market Street #235-A | |||
San Francisco, CA 94114 | |||
</onlyinclude> | |||
</nowiki> | |||
==NoInclude== | ==NoInclude== | ||
Revision as of 12:04, 30 April 2024
See mw:Transclusion & mw:Templates
Partial Transclusion
OnlyInclude
(oi) this is most often what you want. This tag renders content on direct view of the source page, and on template-inclusion view of the source page. It's is used on
- EIN: 26-3507741 (
[[EIN]]: {{:EIN}}), and - Mailing Address:
Noisebridge 2261 Market Street #235-A San Francisco, CA 94114
OI: Worked example
==[[Onlyinclude]]d== <onlyinclude> Noisebridge 2261 Market Street #235-A San Francisco, CA 94114 </onlyinclude>
NoInclude
IncludeOnly
(io) This includes content, not on the main page, and only when page rendering is invoked as a template.
See also
- Concepts
- Pages
- SpecialPages (from bottom of side bar, or via more minimal & opinionated Admin Links, in the top-right-header)