Editing
Template:DateALive:Toggle
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Add an arc=== To make a new hide/unhide trigger, wrap these pieces of code around whatever's supposed to be clicked: <code style="background:#dcdcc6"><nowiki><</nowiki>div class="mw-customtoggle-ArcX mw-customtoggle-ArcXClose mw-customtoggle-ArcXOpen" style="background:#9e6c38;cursor:pointer;height:20px;padding-top:3px" align="center"></code> and <code style="background:#dcdcc6"><nowiki><</nowiki>/div></code>. The <code style="background:#dcdcc6">ArcX</code> is the declared name of the object, and should be replaced with whatever's most appropriate ("Arc10", "Comiket", etc.). Then, add the piece of string referring to the new arc (<code style="background:#dcdcc6">mw-customtoggle-ArcX mw-customtoggle-ArcXClose mw-customtoggle-ArcXOpen</code>) to the master toggle on this page, twice in total: once after the <code style="background:#dcdcc6"><div class="</code> for the all-sections-toggle trigger and once after the <code style="background:#dcdcc6"><div class="</code> for the main-story- or side-stories-sections-toggle trigger. Remember to replace the all six <code style="background:#dcdcc6">ArcX</code> in here too. Finally, wrap <code style="background:#dcdcc6"><nowiki><</nowiki>div class="mw-collapsible" style="text-align:left;margin:5px5pxclear:both;font-size:100%;background:transparent;width:100%;" id="mw-customcollapsible-ArcX"></code> and <code style="background:#dcdcc6"><nowiki><</nowiki>br style="clear:both"/></div></code> around the stuff you want to hide and unhide. Again, that little text <code style="background:#dcdcc6">ArcX</code> is the name you're assigning for the purpose of customtoggle. For example: <pre> <div class="mw-customtoggle-ArcX mw-customtoggle-ArcXClose mw-customtoggle-ArcXOpen" style="background:#9e6c38;cursor:pointer;height:20px;padding-top:3px" align="center"><big>'''Volume X'''</big></div> <div class="mw-collapsible" style="text-align:left;margin:5px5pxclear:both;font-size:100%;background:transparent;width:100%;" id="mw-customcollapsible-ArcX"> [[File:DAL_v01_cover.jpg|thumb|x180px]] ===Volume X - Dead End Tohka=== ::*[[Date A Live:Volume 1 Illustrations|Novel Illustrations]] ::*[[Date A Live:Volume 1 Prologue|Prologue: Chance Meeting -restart-]] ::*[[Date A Live:Volume 1 Chapter 1|Chapter 1: The Nameless Girl]] ::*[[Date A Live:Volume 1 Chapter 2|Chapter 2: {{Furigana|Training|Game}} Start]] ::*[[Date A Live:Volume 1 Chapter 3|Chapter 3: Your Name Is......]] ::*[[Date A Live:Volume 1 Chapter 4|Chapter 4: Surprise Date]] ::*[[Date A Live:Volume 1 Chapter 5|Chapter 5: Ruthless {{Furigana|Slaughterer|Sandalphon}}]] ::*[[Date A Live:Volume 1 Epilogue|Epilogue: Life With a Spirit]] ::*[[Date A Live:Volume 1 Afterword|Afterword]] <br style="clear:both"/> </div> </pre> Tip: If you add <code style="background:#dcdcc6">mw-collapsed</code> in the class of the second div (after <code style="background:#dcdcc6">mw-collapsible</code>), you'll make the open/hide trigger closed by default. For example: <pre> <div class="mw-customtoggle-ArcX mw-customtoggle-ArcXClose mw-customtoggle-ArcXOpen" style="background:#9e6c38;cursor:pointer;height:20px;padding-top:3px" align="center"><big>'''Volume X'''</big></div> <div class="mw-collapsible mw-collapsed" style="text-align:left;margin:5px5pxclear:both;font-size:100%;background:transparent;width:100%;" id="mw-customcollapsible-ArcX"> [[File:DAL_v01_cover.jpg|thumb|x180px]] ===Volume X - Dead End Tohka=== ::*[[Date A Live:Volume 1 Illustrations|Novel Illustrations]] ::*[[Date A Live:Volume 1 Prologue|Prologue: Chance Meeting -restart-]] ::*[[Date A Live:Volume 1 Chapter 1|Chapter 1: The Nameless Girl]] ::*[[Date A Live:Volume 1 Chapter 2|Chapter 2: {{Furigana|Training|Game}} Start]] ::*[[Date A Live:Volume 1 Chapter 3|Chapter 3: Your Name Is......]] ::*[[Date A Live:Volume 1 Chapter 4|Chapter 4: Surprise Date]] ::*[[Date A Live:Volume 1 Chapter 5|Chapter 5: Ruthless {{Furigana|Slaughterer|Sandalphon}}]] ::*[[Date A Live:Volume 1 Epilogue|Epilogue: Life With a Spirit]] ::*[[Date A Live:Volume 1 Afterword|Afterword]] <br style="clear:both"/> </div> </pre> <small>(Note: the <code style="background:#dcdcc6"><nowiki><</nowiki>br style="clear:both"/></code> shouldn't be that important - it's only giving a type of line break, I think, which shouldn't actually be part of the hiding process. On the other hand, I have no idea where the user's manual for the customtoggle is so for all I know it's a mandatory part of the function. Unless someone who knows for sure comes along and deletes my comment, include it just to be on the safe side.)</small>
Summary:
Please note that all contributions to Baka-Tsuki are considered to be released under the TLG Translation Common Agreement v.0.4.1 (see
Baka-Tsuki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, please solve the following captcha:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Charter of Guidance
Project Presentation
Recent Changes
Categories
Quick Links
About Baka-Tsuki
Getting Started
Rules & Guidelines
IRC: #Baka-Tsuki
Discord server
Annex
MAIN PROJECTS
Alternative Languages
Teaser Projects
Web Novel Projects
Audio Novel Project
Network
Forum
Facebook
Twitter
IRC: #Baka-Tsuki
Discord
Youtube
Completed Series
Baka to test to shoukanjuu
Chrome Shelled Regios
Clash of Hexennacht
Cube Γ Cursed Γ Curious
Fate/Zero
Hello, Hello and Hello
Hikaru ga Chikyuu ni Itakoro......
Kamisama no Memochou
Kamisu Reina Series
Leviathan of the Covenant
Magika no Kenshi to Basileus
Masou Gakuen HxH
Maou na Ore to Fushihime no Yubiwa
Owari no Chronicle
Seirei Tsukai no Blade Dance
Silver Cross and Draculea
A Simple Survey
Ultimate Antihero
The Zashiki Warashi of Intellectual Village
One-shots
Amaryllis in the Ice Country
(The) Circumstances Leading to Waltraute's Marriage
Gekkou
Iris on Rainy Days
Mimizuku to Yoru no Ou
Tabi ni Deyou, Horobiyuku Sekai no Hate Made
Tada, Sore Dake de Yokattan Desu
The World God Only Knows
Tosho Meikyuu
Up-to-Date (Within 1 Volume)
Heavy Object
Hyouka
I'm a High School Boy and a Bestselling Light Novel author, strangled by my female classmate who is my junior and a voice actress
The Unexplored Summon://Blood-Sign
Toaru Majutsu no Index: Genesis Testament
Regularly Updated
City Series
Kyoukai Senjou no Horizon
Visual Novels
Anniversary no Kuni no Alice
Fate/Stay Night
Tomoyo After
White Album 2
Original Light Novels
Ancient Magic Arc
Dantega
Daybreak on Hyperion
The Longing Of Shiina Ryo
Mother of Learning
The Devil's Spice
Tools
What links here
Related changes
Special pages
Page information