Description
Here's a half-baked solution for discussion thread “TOC's from many pages displayed on one?”
Although this allows you to pull in the TOC's, they aren't linking to their respective pages (but to the current page instead) and fold/unfold only works for the first TOC.
Code
[[module ListPages category="code" limit="9" order="pageEditedDesc"]]
[[table]][[row]]
[[cell]][[[%%page_unix_name%%]]][[/cell]][[/row]]
[[row]]
[[cell]]
[[div style="display : none"]]
[[include %%page_unix_name%%]]
[[/div]]
[[toc]]
[[/cell]][[/row]][[/table]]
[[/module]]
In action
make-clock | |
DescriptionIt same time on your phone :) CodeInsert this code into your page
In actionAfter inserting |
eisagogi | |
Η εργασία αυτή εκπονήθηκε στο πλαίσιο του Σεμιναρίου Γ03Σ06 – «Σχεδιασμός και ανάπτυξη διδακτικού υλικού σε διαδικτυακό περιβάλλον» με διδάσκοντα τον Δρ. Μιχαήλ Κλεισαρχάκη του ΠΤΔΕ του Πανεπιστημίου Κρήτης, κατά το χειμερινό εξάμηνο του ακαδημαϊκού έτους 2020-2021.Η εκπαιδευτική αυτή εφαρμογή απευθύνεται σε μαθητές της Στ' τάξης. Τα γνωστικά αντικείμενα που εμπλέκονται στη διδακτική αυτή προσέγγιση είναι: Η Φυσική Αγωγή και Μελέτη του περιβάλλοντος. Σκοπός της εργασίας είναι να προσφέρει μια εναλλακτική διδακτική προσέγγιση του θέματος το οποίο πραγματεύεται, αξιοποιώντας το περιβάλλον ΠΥΘΕΑΣ: WikiQuESD βασισμένο σε κοινωνικο-εποικοδομιστικές προσεγγίσεις διδασκαλίας και μάθησης.
|
101andeskarl-s-scp | |
Descriptionput description what kind of problem does the solution solve and how Code
In actionlink to the implemented solution on a Wikidot site or put a working example here |
tag | |||||||||||||||||||
DescriptionYou can disguise the tags and include a link. Code
Syntax
In action
ImportantTags used in this syntax do not register with the tag as an article. |
colalt | |||||||||||||||||||||||||||||||||||||
DescriptionSpeaking of multiple collapsibles, there's Demo1Colalt is colalt itself… SyntaxAnd the source code is different in the odd and even layers. The first layer of colalt is the first layer, and when you nest the colalt in order, the second layer, the third layer, and so on.
CodeYou can add/modify parameters as needed by enclosing the part you want to fold with the following colalt.
In actionDemo 2If you omit nohide in oddend or evenend and set hide… Demo 3If you omit hide in oddtop or eventop and set nohide=true… Demo 4If you set folded=false… You can reproduce the collapsible folded="no". [[include :snippets:colalt |foddtop=[|folded=false|nohide=true|hide=- close]]
You can reproduce the collapsible folded="no". [[include :snippets:colalt |foddend=[|folded=false|show=+ open|nohide=true]] Demo 5If you enclose a colalt with [[div class="collapsiblealt"]] and [[/div]]… Demo6ImportantCannot be used within [[iftags]].Cannot be used within [[collapsible]].Skipping and closing odd numbers causes clutching. |
tecnicas-de-proteccion | ||||||||
DescriptionThis is not a snippet of Wikidot code to use !
Code
In action
|
falling-snowflakes-effect | |
Falling snowflakes over pages
Code
In action |
html5player | |
DescriptionCurrently we only have a Flash-based option for audio and video inclusion. These snippets fix that by providing an HTML5-based alternative (which should really be the default by now). CodeYou can create audio and video embeds like this:
If you want the file to play automatically, do it this way:
type should be "video" or "audio". Due to how the audio and video elements are implemented, they are not stylable this way, but this embed can of course be extended to provide a custom layout which can be styled. In action |
mail-to-all-moderators | |
DescriptionI haven't found a solution so I don't know if this is the proper way to ask the question. Feel free to remove the page if not the appropriate way! I would like to know if it is possible to create a link that would open a new mail in outlook that is destinated to all moderators (mail addresses can actually appear in the mail, it's not a problem). Is it possible to ask the site to go get the mail addresses in the wikidot database or do I have to list all the actual addresses in the code? The only way I see to do this would be the code below. But I would like to refer to the wikidot database so I don't have to change all the links when there is a change in the staff. The goal is that the user will warn all moderators when the create a new page. If an automatic solution is available for every page creation it would work as well (even better) but it has to be by mail, as I expect people not to check their private messages on a regular basis. Thanks! Code
|
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by ErichSteinboeck
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown: Details Page - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Feed: Collapsible - 16 Feb 2012 01:23
Module Categories - 16 Feb 2012 01:23
MiniRecentPosts With Limit - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17
Rate this solution
If you think this solution is useful — rate it up!
I put two rows, instead of one, it is neater, and all tocs are aligned…. Hope you don't mind, Erich!
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney