ਫਰਮਾ:Magic word templates/book page examples/doc

Wikibooks ਤੋਂ

Usage[ਸੋਧੋ]

Transclude this on the documentation page of a magic word template relating a page to its associated book, to produce a table of examples of the template's behavior on various page names. The template is expected to accept an unnamed parameter overriding the current page name. See for example Template:BOOKNAME/doc.

This template itself accepts an unnamed parameter specifying the name of the template to be demonstrated; otherwise it uses {{OBJECTPAGENAME}}. For example,

{{ਫਰਮਾ:Magic word templates/book page examples|BOOKNAME}}

would produce

page where called result
Taxi Tongue/Dialogue 4

Taxi Tongue

Chess/Puzzles/Directmates

Chess

Wikijunior:Biology

Wikijunior:Biology

Wikijunior:Dinosaurs/Apatosaurus

Wikijunior:Dinosaurs

Wikijunior talk:Bugs/Shield Bug

Wikijunior talk:Bugs

Category:Horticulture/Templates/Boxes

ਸ਼੍ਰੇਣੀ:Horticulture

Category:Book:Wikijunior:Solar System/Templates

ਸ਼੍ਰੇਣੀ:Book:Wikijunior:Solar System

Template:Wikijunior:Solar System/coolfacts

ਫਰਮਾ:Wikijunior:Solar System

User:Pi zero/Conlang/Beginner/Sounds

ਵਰਤੋਂਕਾਰ:Pi zero

User:Pi zero/sandbox/Conlang/Beginner/Sounds

ਵਰਤੋਂਕਾਰ:Pi zero

Category:User:Pi zero/sandbox/Conlang/Beginner/Sounds

ਸ਼੍ਰੇਣੀ:ਵਰਤੋਂਕਾਰ:Pi zero

Template:User:Pi zero/sandbox/Conlang/Beginner/Sounds

ਫਰਮਾ:ਵਰਤੋਂਕਾਰ:Pi zero

Shelf:Physical sciences

Wikibooks Stacks

Template:Shelf:Page

ਫਰਮਾ:Shelf:Page

Template:Shelf:Page/display

ਫਰਮਾ:Shelf:Page

Internals[ਸੋਧੋ]

The examples are in subtemplate {{Magic word templates/book page examples/core}}; this template only chooses the target for demonstration and delegates there.