Testpage4: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
(Created page with "<noinclude>{{Managed |Version=1.0 |Version notes=1.0 - First managed version |Short description=Template for Article pages }} This is the '''Article''' template. It should be...")
 
 
(39 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<noinclude>{{Managed
 
|Version=1.0
 
|Version notes=1.0 - First managed version
 
|Short description=Template for Article pages
 
}}
 
  
This is the '''Article''' template. It should be called in the following format:
+
<h2>In this day {{CURRENTDAY}} {{CURRENTMONTHNAMEGEN}}</h2>
  
<pre>
+
{{CURRENTDAY}} {{CURRENTMONTHNAMEGEN}}
{{Article
 
|Title=
 
|Short description=
 
|Main image=
 
|Description=
 
|External links=
 
|Belongs to portal=
 
}}
 
</pre>
 
  
</noinclude><includeonly>__NOTITLE__<!--
+
----
 +
LALALA
 +
<h2>In this day {{CURRENTDAY}} {{CURRENTMONTHNAMEGEN}}</h2>
 +
if here:---->
  
-->{{#set:Class=Article
 
|Title={{{Title|}}}
 
|Short description={{{Short description|}}}
 
|Main image={{{Main image|}}}
 
|Description={{{Description|}}}
 
|External links={{{External links|}}}
 
|Belongs to portal={{{Belongs to portal|}}}
 
}}<!--
 
  
--><div class="row">
+
{{#ask:[[Class::Article]] [[Special date::{{#time:d F|now}}]]
<div class="col">
+
|?Title=
{{Page title
+
|?Special date description=
|Title={{{Title|}}}
+
|mainlabel=
 +
|class=table
 +
|format=plainlist
 +
|columns=0
 +
|sort=Title
 +
|order=asc
 +
|limit=999
 
}}
 
}}
  
<div class="tab-content">
+
----------------------------------------------------------------------------------------
<div class="tab-pane active" id="description-view-tab">
+
{{#ask:[[Class::Article]] [[Has special date::Yes]]
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
+
|?Special date=
{{{Short description|}}}
+
|mainlabel=-
{{{Main image|}}}
+
|format=Template
{{{Description|}}}<br>
+
|Template=Show special date
{{#if: {{{External links|}}}
+
|order=asc
| <div class="external-links">External links: {{{External links|}}}</div>
+
|limit=999
| }}
+
}}
{{#if: {{{Belongs to portal|}}}
+
----------------------------------------------------------------------------------------
| <div class="portal-show">Portal: [[{{{Belongs to portal|}}}]]</div>
 
| }}</div>
 
<div class="tab-pane" id="description-form-tab">
 
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} }}<!-- end Section title -->
 
<wsform action="addToWiki" enctype="multipart/form-data">
 
  
<wsedit target="{{PAGEID}}" template="Article" formfield="Short description" />
+
{{#time:d F|{{{Special date|}}}|nl}}
<wslabel>Introduction paragraph:</wslabel>
 
<wsfield type="textarea"  rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield><br>
 
  
<wsedit target="{{PAGEID}}" template="Article" formfield="Main image" />
 
<wslabel for="testing" class="btn btn-default">{{Fa|upload}} Find a file</wslabel>
 
<wsfield verbose_id="preview123" type="file" id="testing" name="testing" target="Example.png" pagecontent="Testing just testing." use_label="true" multiple="multiple" />
 
<wsfield type="submit" value="Upload" class="btn btn-success" /><br>
 
  
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />
+
{{#time:d F|now}}
<wslabel>Content:</wslabel>
 
<wsfield type="textarea" name="Description" class="tinymce" >{{{Description|}}}</wsfield><br>
 
  
<wsedit target="{{PAGEID}}" template="Article" formfield="External links" />
+
[[Datum::>{{#time:r|now}}]]
<wslabel>External links:</wslabel>
 
<wsfield type="textarea"  rows="5" class="form-control" name="External links" placeholder="* Fill in your external links in a bullet list" value="{{{External links|}}}" >{{#widget:Plain |text={{{External links|}}}}}</wsfield><br>
 
  
<wsedit target="{{PAGEID}}" template="Article" formfield="Belongs to portal" />
 
<wslabel>Belongs to portal:</wslabel>
 
<wsfield type="textarea"  rows="1" class="form-control" name="Belongs to portal" >{{{Belongs to portal|}}}</wsfield>
 
  
 
+
----
<div class="text-right mt-3">{{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }}
+
{{Item responsive |Cols={{#var:@cols|4-8}}
<wsfield type="submit" class="btn btn-primary" value="Save" /></div>
+
|1={{Fa|calendar-o}} Datum
</wsform>
+
|2=<wsfield type="date" placeholder="jjjj-mm-dd" name="Datum" value="{{{Datum|}}}" class="form-control" required="required" />
</div>
+
}}
</div>
+
HERE
</div>
+
---------------------------------------------------------------------------------------
</div><!-- end of .col-md-4 and .row
+
{{#ask:[[Class::Article]] [[Has special date::Yes]]
 
+
|?Title=
--></includeonly>
+
|?Special date=
 +
|mainlabel=-
 +
|format=Template
 +
|Template=Show special date
 +
|order=asc
 +
|limit=999
 +
}}
 +
----------------------------------------------------------------------------------------

Huidige versie van 5 dec 2020 om 11:48

In this day 19 mei

19 mei


LALALA

In this day 19 mei

if here:---->





19 mei


19 mei

>Sun, 19 May 2024 19:45:15 +0000



Datum

HERE