Difference between revisions of "Template:Summary of page"
Jump to navigation
Jump to search
(Replace expanded exampl3) |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
|include={{#if:{{{section|}}}|#{{{section}}}|#}} | |include={{#if:{{{section|}}}|#{{{section}}}|#}} | ||
|allowcachedresults=true}}</includeonly><noinclude> | |allowcachedresults=true}}</includeonly><noinclude> | ||
| − | + | '''Synopsis:''' | |
A quick template to copy the first (unnamed) section (or other named section) of a specific page. | A quick template to copy the first (unnamed) section (or other named section) of a specific page. | ||
| − | Parameters: | + | '''Parameters:''' |
* name : Name of the page to copy from | * name : Name of the page to copy from | ||
* section: Defaults to first unmarked section of the page, otherwise supply the name of the section (the header) you want included. | * section: Defaults to first unmarked section of the page, otherwise supply the name of the section (the header) you want included. | ||
| − | Examples: | + | '''Examples:''' |
* <nowiki>{{Summary of page|name=Regina Subsector}}</nowiki> - included the first section of the [[Regina Subsector]] article. | * <nowiki>{{Summary of page|name=Regina Subsector}}</nowiki> - included the first section of the [[Regina Subsector]] article. | ||
* <nowiki>{{Summary of page|name=Drakaran|section=Physiology & Environment (Ecology)}}</nowiki> - includes the section on Physiology from the Drakarans article. | * <nowiki>{{Summary of page|name=Drakaran|section=Physiology & Environment (Ecology)}}</nowiki> - includes the section on Physiology from the Drakarans article. | ||
| − | Expanded Example: | + | '''Expanded Example:''' |
| − | {{Summary of page|name= | + | *<nowiki>{{Summary of page|name=Regina Subsector}}</nowiki> |
| + | {{Summary of page|name=Regina Subsector}} | ||
[[Category: DPL Templates|Summary of Page]] | [[Category: DPL Templates|Summary of Page]] | ||
[[Category: Text Expansion Templates|Summary of Page]] | [[Category: Text Expansion Templates|Summary of Page]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:53, 11 June 2020
Synopsis: A quick template to copy the first (unnamed) section (or other named section) of a specific page.
Parameters:
- name : Name of the page to copy from
- section: Defaults to first unmarked section of the page, otherwise supply the name of the section (the header) you want included.
Examples:
- {{Summary of page|name=Regina Subsector}} - included the first section of the Regina Subsector article.
- {{Summary of page|name=Drakaran|section=Physiology & Environment (Ecology)}} - includes the section on Physiology from the Drakarans article.
Expanded Example:
- {{Summary of page|name=Regina Subsector}}
| Regina Subsector | |
|---|---|
![]() | |
| Sector | Spinward Marches |
| Capital | Regina (Spinward Marches 1910) |
| Number of Systems | 31 |
| Majority Control | Imperium - 96% |
| 2nd Control | Non-Aligned - 4% |
| Map Key | Map Key |
Regina Subsector is the hub of new development in the Spinward Marches Sector. Located at the very edge of the Imperium, it serves as a contact point with the Vargr to coreward and the Zhodani to spinward; the result is considerable trade activity through the Starports of the region.
