Template:Mosnav/doc

From Tardis Wiki, the free Doctor Who reference

{{mosnav}} is a template that puts a navigation strip, much like the one used for forum threads, at the top of a page. It should be used only on pages of the manual of style; hence: mosnav.

Usage

To use, follow this simple pattern:

  • {{mosnav|p|1|2|3|4|5|6|7|8|c}}

where p is the parent chapter for all the other pages listed at 1, 2, 3 ... 19. All are optional, and if you type {{mosnav}} alone, it sill simply put the current page in the nav bar like so:

Book.png

CatsheadFat BoySharkey (Smart Bombs)Senior coderAgents' Briefing RoomEmorganTeam 9 (Kerblam!)Little ManWhizz BangNight modeMère de MénageNaval officerDonald SimpsonTaron (The Dream)FrestaBig Brother (Smart Bombs)St Edmunds PippinSkrak (language)AnarrayEmpiricaBesiddianLodgemore NonpareilHecten CityDuHortos PrimeMannington's PearmanGlastraFasHapVacNal1634Sentimenous VirgoPersistencePark StreetTaleriaReceptor codeRussell MaggsTree-ratAlpha WastesRotus NebulaBio-trackingContinuum warpMagranomic triggerMaine CoonGeophysicistToplex SanitationTARDIS serial numberObservation RoomScout-Ship CommanderEckleACRSMajor-generalBob BlasdallElectronic clipboardVigal MinorIan GrantTempest (ship)Red VelvetKerb!am Man trigger deviceSol (I Scream)Southern IraqRalph (Sock Pig)Third CityField separatorVingtenLucas KovacsOcean planetBel TerraPaul LaingSecond CitySemaneConceptor geometry relayGolbos SystemThe Party (disambiguation)Fleishman Cold Fusion EngineCharles BoyleRichard WalterCONSharon RobbinsSanta Maria (disambiguation)Ashmead's KernelGreg WaltersFrumeDodo Chaplet's funeralTunguska (disambiguation)DOCStephen CartwrightCyber-linguistPOEMWarren PearsonMonoceretosMorok (planet)UK 2Steve SteenCleveland AvenueDevonshire QuarrendenBainbridge StreetMark SimmonsAndor (disambiguation)Chalice of BloodThaon 5AnstaarCubit (currency)BOSS (shop)Calvary Baptist TrojansBen NottShredox7th centuryFrances WhitakerVeerinder MannImplicate theoryFull Moon (Night of the Whisper)AnjerAmazolBabetteCaballanKate LloydCatherine AndersonDan BerryRiftet InsuranceTyack's FittingsAdditional VFXCarrot fudgeSector 52YamahaDentsuCanTangier SpiralBattrulSaravinLupeDan TostevinInnovations UnlimitedW1U 65PProduct scannerMaintenance manShervaRibston PippinHex (curse)Flesh toneDimetos CitySKI8 TKYNew MumbaiShergar SahcahgarMatt MichaelEpsilon VolantisHead DesignBrew DogTen Percent People-Powered CompanyRoboanalystTemple of BeginningRecykThafaGuy DanielsNew RenbergDrum ControlQuiqueDuroniteChristopher Columbus (city)WotchGolden DeliciousFranz (Future Legend)Clay FoundationVesperus seriesTrintilliumAnmartV15 system15-10 Barric FieldsMedusiaSupreme LordBrighton88Nano-dentistryNan GarSkywardenFifth Spark of Delta BSkaro (Earth)PaxasGraeme FowlerDominic ParryK5000AmazastiaFunlandAlys systemFlower merchantBanditTransmat terminalPrincessipality of YevnonSPQRJay DyerMartin WigginsJen EvansHayley CoxMatterdomSorvix princeVake EmpireKolothosHopthenCorpse GipeDinasisBagossElectromitosisNew Times SquareWrekkaEcotopic scannerHonestyRagBrite WhiteSoft-light disguiseBBC LondonPhilip MacDonaldTWDTony RudlinMartin EdenKloedenJaggrabellOskerionElectra (moon)Phyllosia020 1108 70007Queens VaultsPiranGryEarl of SandwichShnorkSpotelVernon FloodAndrew ParslowMark BlytheGanesh systemKubthukianLunar BaseAdventProxy WarsGrey SizerFangHead model makerPacking departmentVlogEarth DefenderGary KnightElizabeth JacksonJane WalkerRussell CookLoolooBen MarionDave OwensLee CummingsOCEAN FLOORAasterGalactic minuteDimensional osmosis damperEnergy displacerNatalie BarnesHaidukGalyarEta Cassiopeia systemEmber (star)Mich Brown0207 946 0055E9 9FZPsychotronic generatorCyber-hunterSalutationSuccubaBlayling systemAquarian ivoryJack JamesonMaginotJathrosShaila BuxBessemeHeath WilliamsParagrolNew Forest District CouncilCrimson RevenantsMarcio MenysScott MillerSimon RaiseyCancri (planet)Gigga-kill laserMemetic ArchivePacking slipSpeech circuitN4 5DBTARDIS toiletThe ArgentinesExabin SevenSurgeryPost-opStomach sacGabriel P. CooperMathew HydeHannah TibbettsMarmadonJon BarrettSunbryMartin RossCora (Wake)Matthew CruickshankRichard JonesRobin LindsayRenate KohlerAlan HollandDanny Dyer3 Spur StreetMartian droneE2 3LAN12 7GGGyro stabiliserAspect RedLone wolfRensec XIVBernice Summerfield (Glory Days)TelestrisMartian snow diamondLuke Parsons (actor)Sarah Thomas (actor)Liza MillettMichael YeowellVorellanKredysonuzziJohn B. McLayA-GradeWHO 7Phillip PullmanSolar stackAspect BlueImprovDespond IrregularityCentipede personJaris system0800 999 999 (phone number)AractusEd LomasMike WildeAnnabel GibsonGina HartSaiarossaBambrinMif's RuinMarina JohnstonGabriella MauchEmma PenruddockMatthew RadfordNick GolsonTim De JonghGardner StreetYD56 VHGSEWARDNyssa's TARDIS keyN4 5DEAspect WhiteCockle3toil Collective106 Endeavour TerraceGalactic EmpireBenign Union of Daost2292Neill CorryVorshagg (planet)Hope (city)Narg (Tempest)Iq-QabaLeon HongCharles MarenghiSonia PaternostaPaul PowellRussell MillerSimon MyersRod ReisIolanda ZanfardinoWellington DiazRod FernandesMark WheatleyZak Simmonds-HurnSteve PughTodd NauckStephen ByrneHead of PeopleRoger WilcoUNIT Command BaseN8 2TCOxygen creditLexiumImperial IDSecondmentWallows of CassiopeiaRichard HewlettRalph BaggsJoan HewlettDiana (Warlords of Utopia)Valderon (Prisoner of the Ood)Eliot DistrictHigh Command (disambiguation)ArbelaJacqui ShevkiHanson SolicitorsChris McCormackJulie PickeringYvonne TaylorMark HarrisTerry SambridgeEskoniScythaSeigi LongmanMiniaronTwenty-Ninth FleetArtron moleculeFizz BombLX88JEducationModel unitAldebaran InstantVOR airportChris BellDavid CastletonDarwin DistrictLodger DistrictKevin LyonsCleris InstituteJason TowersAyonianAmperica NovaE1Bruce CampbellPoppy KempJohn SeaveyMaurico BeltranNick LandauRob Denning and the Crew of LightJulia SteerNick GriffithsRoskilly'sFatkat CorporationBlue EagleKestrel DistrictSeizure DistrictBreen (disambiguation)EC1 5EGVrill nestSidekickCramodarOlivia McLearonThinking bookOgron HospitalDrebnarianSmog stormFrances WelshDracian systemProlonKINGFISHERFirst City (LIVE 34)Zeta DraconisShapes HairMagnetic bootSand slugZalcrossarKing of the KrontepLord of the VingtenAlpha waveUltranPuzzle boxEventide DistrictSoftspot DistrictAeon (disambiguation)HoveetSkraalMediaPlayFilm (Father Time)Ancient FrimianAndrew SpokesDimension 16Xantha EmpireRoger BakerLenid StrimmerTaliskotianMagnetic gloveBeijing MinorEntertainmentBavaliEnoxSoval Hydran motorCrewmanCriminologyCuttlefish DistrictDesperado DistrictLeastways DistrictMousetrap DistrictTurnstile DistrictMethajiTokyo DomeMartin J. WigginsNick ForemanTim KnightMondorRob DelaneyHairiesTim BurgessJackie RoweMosnav/doc

This, however, is not very helpful, because it allows you to navigate only back to the page Tardis:Manual of style.

The variable c can and should be set to a name for the chapter, so that all pages in that chapter can be organised under a single category. The resulting category would then go into Category:Manual of style.

A more full-bodied example of this template is:

{{mosnav|p=Wikify wisely|Redlinks|c=wikification}}

which produces:

Book.png

CatsheadFat BoySharkey (Smart Bombs)Senior coderAgents' Briefing RoomEmorganTeam 9 (Kerblam!)Little ManWhizz BangNight modeMère de MénageNaval officerDonald SimpsonTaron (The Dream)FrestaBig Brother (Smart Bombs)St Edmunds PippinSkrak (language)AnarrayEmpiricaBesiddianLodgemore NonpareilHecten CityDuHortos PrimeMannington's PearmanGlastraFasHapVacNal1634Sentimenous VirgoPersistencePark StreetTaleriaReceptor codeRussell MaggsTree-ratAlpha WastesRotus NebulaBio-trackingContinuum warpMagranomic triggerMaine CoonGeophysicistToplex SanitationTARDIS serial numberObservation RoomScout-Ship CommanderEckleACRSMajor-generalBob BlasdallElectronic clipboardVigal MinorIan GrantTempest (ship)Red VelvetKerb!am Man trigger deviceSol (I Scream)Southern IraqRalph (Sock Pig)Third CityField separatorVingtenLucas KovacsOcean planetBel TerraPaul LaingSecond CitySemaneConceptor geometry relayGolbos SystemThe Party (disambiguation)Fleishman Cold Fusion EngineCharles BoyleRichard WalterCONSharon RobbinsSanta Maria (disambiguation)Ashmead's KernelGreg WaltersFrumeDodo Chaplet's funeralTunguska (disambiguation)DOCStephen CartwrightCyber-linguistPOEMWarren PearsonMonoceretosMorok (planet)UK 2Steve SteenCleveland AvenueDevonshire QuarrendenBainbridge StreetMark SimmonsAndor (disambiguation)Chalice of BloodThaon 5AnstaarCubit (currency)BOSS (shop)Calvary Baptist TrojansBen NottShredox7th centuryFrances WhitakerVeerinder MannImplicate theoryFull Moon (Night of the Whisper)AnjerAmazolBabetteCaballanKate LloydCatherine AndersonDan BerryRiftet InsuranceTyack's FittingsAdditional VFXCarrot fudgeSector 52YamahaDentsuCanTangier SpiralBattrulSaravinLupeDan TostevinInnovations UnlimitedW1U 65PProduct scannerMaintenance manShervaRibston PippinHex (curse)Flesh toneDimetos CitySKI8 TKYNew MumbaiShergar SahcahgarMatt MichaelEpsilon VolantisHead DesignBrew DogTen Percent People-Powered CompanyRoboanalystTemple of BeginningRecykThafaGuy DanielsNew RenbergDrum ControlQuiqueDuroniteChristopher Columbus (city)WotchGolden DeliciousFranz (Future Legend)Clay FoundationVesperus seriesTrintilliumAnmartV15 system15-10 Barric FieldsMedusiaSupreme LordBrighton88Nano-dentistryNan GarSkywardenFifth Spark of Delta BSkaro (Earth)PaxasGraeme FowlerDominic ParryK5000AmazastiaFunlandAlys systemFlower merchantBanditTransmat terminalPrincessipality of YevnonSPQRJay DyerMartin WigginsJen EvansHayley CoxMatterdomSorvix princeVake EmpireKolothosHopthenCorpse GipeDinasisBagossElectromitosisNew Times SquareWrekkaEcotopic scannerHonestyRagBrite WhiteSoft-light disguiseBBC LondonPhilip MacDonaldTWDTony RudlinMartin EdenKloedenJaggrabellOskerionElectra (moon)Phyllosia020 1108 70007Queens VaultsPiranGryEarl of SandwichShnorkSpotelVernon FloodAndrew ParslowMark BlytheGanesh systemKubthukianLunar BaseAdventProxy WarsGrey SizerFangHead model makerPacking departmentVlogEarth DefenderGary KnightElizabeth JacksonJane WalkerRussell CookLoolooBen MarionDave OwensLee CummingsOCEAN FLOORAasterGalactic minuteDimensional osmosis damperEnergy displacerNatalie BarnesHaidukGalyarEta Cassiopeia systemEmber (star)Mich Brown0207 946 0055E9 9FZPsychotronic generatorCyber-hunterSalutationSuccubaBlayling systemAquarian ivoryJack JamesonMaginotJathrosShaila BuxBessemeHeath WilliamsParagrolNew Forest District CouncilCrimson RevenantsMarcio MenysScott MillerSimon RaiseyCancri (planet)Gigga-kill laserMemetic ArchivePacking slipSpeech circuitN4 5DBTARDIS toiletThe ArgentinesExabin SevenSurgeryPost-opStomach sacGabriel P. CooperMathew HydeHannah TibbettsMarmadonJon BarrettSunbryMartin RossCora (Wake)Matthew CruickshankRichard JonesRobin LindsayRenate KohlerAlan HollandDanny Dyer3 Spur StreetMartian droneE2 3LAN12 7GGGyro stabiliserAspect RedLone wolfRensec XIVBernice Summerfield (Glory Days)TelestrisMartian snow diamondLuke Parsons (actor)Sarah Thomas (actor)Liza MillettMichael YeowellVorellanKredysonuzziJohn B. McLayA-GradeWHO 7Phillip PullmanSolar stackAspect BlueImprovDespond IrregularityCentipede personJaris system0800 999 999 (phone number)AractusEd LomasMike WildeAnnabel GibsonGina HartSaiarossaBambrinMif's RuinMarina JohnstonGabriella MauchEmma PenruddockMatthew RadfordNick GolsonTim De JonghGardner StreetYD56 VHGSEWARDNyssa's TARDIS keyN4 5DEAspect WhiteCockle3toil Collective106 Endeavour TerraceGalactic EmpireBenign Union of Daost2292Neill CorryVorshagg (planet)Hope (city)Narg (Tempest)Iq-QabaLeon HongCharles MarenghiSonia PaternostaPaul PowellRussell MillerSimon MyersRod ReisIolanda ZanfardinoWellington DiazRod FernandesMark WheatleyZak Simmonds-HurnSteve PughTodd NauckStephen ByrneHead of PeopleRoger WilcoUNIT Command BaseN8 2TCOxygen creditLexiumImperial IDSecondmentWallows of CassiopeiaRichard HewlettRalph BaggsJoan HewlettDiana (Warlords of Utopia)Valderon (Prisoner of the Ood)Eliot DistrictHigh Command (disambiguation)ArbelaJacqui ShevkiHanson SolicitorsChris McCormackJulie PickeringYvonne TaylorMark HarrisTerry SambridgeEskoniScythaSeigi LongmanMiniaronTwenty-Ninth FleetArtron moleculeFizz BombLX88JEducationModel unitAldebaran InstantVOR airportChris BellDavid CastletonDarwin DistrictLodger DistrictKevin LyonsCleris InstituteJason TowersAyonianAmperica NovaE1Bruce CampbellPoppy KempJohn SeaveyMaurico BeltranNick LandauRob Denning and the Crew of LightJulia SteerNick GriffithsRoskilly'sFatkat CorporationBlue EagleKestrel DistrictSeizure DistrictBreen (disambiguation)EC1 5EGVrill nestSidekickCramodarOlivia McLearonThinking bookOgron HospitalDrebnarianSmog stormFrances WelshDracian systemProlonKINGFISHERFirst City (LIVE 34)Zeta DraconisShapes HairMagnetic bootSand slugZalcrossarKing of the KrontepLord of the VingtenAlpha waveUltranPuzzle boxEventide DistrictSoftspot DistrictAeon (disambiguation)HoveetSkraalMediaPlayFilm (Father Time)Ancient FrimianAndrew SpokesDimension 16Xantha EmpireRoger BakerLenid StrimmerTaliskotianMagnetic gloveBeijing MinorEntertainmentBavaliEnoxSoval Hydran motorCrewmanCriminologyCuttlefish DistrictDesperado DistrictLeastways DistrictMousetrap DistrictTurnstile DistrictMethajiTokyo DomeMartin J. WigginsNick ForemanTim KnightMondorRob DelaneyHairiesTim BurgessJackie RoweMosnav/doc

Note that the namespace Tardis: is already assumed. All you need is the page name, not the full page name. Also, see how the current page name, Mosnav, is put into the navigation bar by default. Obviously, if you were to put this particular example on Tardis:Don't over-wikify, it would make a little more sense.

Thanks

This template owes some debt to memoryalpha:template:mos nav — though not quite so much as the name suggests. This is basically just an adaptation of the basic {{forumheader}} template which is a default part of the Wikia MediaWiki installation.