... |
... |
@@ -326,182 +326,4 @@ |
326 |
326 |
{{/menu}} |
327 |
327 |
{{/example}} |
328 |
328 |
|
329 |
|
-== Button Macro == |
330 |
330 |
|
331 |
|
-The Button macro inserts a styled clickable button. |
332 |
|
- |
333 |
|
-{{example}} |
334 |
|
-{{button link="https://xwiki.org" style="primary"}} |
335 |
|
-Click Me |
336 |
|
-{{/button}} |
337 |
|
-{{/example}} |
338 |
|
- |
339 |
|
-== Carousel Macro == |
340 |
|
- |
341 |
|
-The Carousel macro displays a slideshow of images. |
342 |
|
- |
343 |
|
-{{example}} |
344 |
|
-{{carousel}} |
345 |
|
-image:Space.Page@Image1.png |
346 |
|
-image:Space.Page@Image2.png |
347 |
|
-{{/carousel}} |
348 |
|
-{{/example}} |
349 |
|
- |
350 |
|
-== Embed Macro == |
351 |
|
- |
352 |
|
-The Embed macro shows external content like YouTube videos. |
353 |
|
- |
354 |
|
-{{example}} |
355 |
|
-{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
356 |
|
-{{/example}} |
357 |
|
- |
358 |
|
-== Expandable Macro == |
359 |
|
- |
360 |
|
-The Expandable macro shows expandable hidden content. |
361 |
|
- |
362 |
|
-{{example}} |
363 |
|
-{{expandable title="Click to Expand"}} |
364 |
|
-Hidden details appear here. |
365 |
|
-{{/expandable}} |
366 |
|
-{{/example}} |
367 |
|
- |
368 |
|
-== Excerpt Macro == |
369 |
|
- |
370 |
|
-The Excerpt macro marks content for reuse elsewhere. |
371 |
|
- |
372 |
|
-{{example}} |
373 |
|
-{{excerpt}} |
374 |
|
-This is excerpted content. |
375 |
|
-{{/excerpt}} |
376 |
|
-{{/example}} |
377 |
|
- |
378 |
|
-== FAQ Macro == |
379 |
|
- |
380 |
|
-The FAQ macro lists FAQ entries. |
381 |
|
- |
382 |
|
-{{example}} |
383 |
|
-{{faq space="FAQ"/}} |
384 |
|
-{{/example}} |
385 |
|
- |
386 |
|
-== Live Data Macro == |
387 |
|
- |
388 |
|
-The LiveData macro displays dynamic data tables. |
389 |
|
- |
390 |
|
-{{example}} |
391 |
|
-{{liveData source="document"/}} |
392 |
|
-{{/example}} |
393 |
|
- |
394 |
|
-== Panel Macro == |
395 |
|
- |
396 |
|
-The Panel macro creates styled content boxes. |
397 |
|
- |
398 |
|
-{{example}} |
399 |
|
-{{panel title="Panel Title"}} |
400 |
|
-This is inside a panel. |
401 |
|
-{{/panel}} |
402 |
|
-{{/example}} |
403 |
|
- |
404 |
|
-== PDF Viewer Macro == |
405 |
|
- |
406 |
|
-The PDFViewer macro embeds PDFs using PDF.js. |
407 |
|
- |
408 |
|
-{{example}} |
409 |
|
-{{pdfviewer attachment="MyPage@file.pdf"/}} |
410 |
|
-{{/example}} |
411 |
|
- |
412 |
|
-== Profile Picture Macro == |
413 |
|
- |
414 |
|
-The Profile Picture macro shows a user’s picture. |
415 |
|
- |
416 |
|
-{{example}} |
417 |
|
-{{profile-picture user="xwiki:JohnDoe"/}} |
418 |
|
-{{/example}} |
419 |
|
- |
420 |
|
-== Recently Updated Macro == |
421 |
|
- |
422 |
|
-The Recently Updated macro lists recent changes. |
423 |
|
- |
424 |
|
-{{example}} |
425 |
|
-{{recently-updated/}} |
426 |
|
-{{/example}} |
427 |
|
- |
428 |
|
-== Status Macro == |
429 |
|
- |
430 |
|
-The Status macro adds a colored status label. |
431 |
|
- |
432 |
|
-{{example}} |
433 |
|
-{{status value="In Progress" color="yellow"/}} |
434 |
|
-{{/example}} |
435 |
|
- |
436 |
|
-== Team Macro == |
437 |
|
- |
438 |
|
-The Team macro shows avatars of a team. |
439 |
|
- |
440 |
|
-{{example}} |
441 |
|
-{{team space="TeamSpace"/}} |
442 |
|
-{{/example}} |
443 |
|
- |
444 |
|
-== Tooltip Macro == |
445 |
|
- |
446 |
|
-The Tooltip macro shows hints on hover. |
447 |
|
- |
448 |
|
-{{example}} |
449 |
|
-Hover {{tooltip content="Extra Information"}}here{{/tooltip}}. |
450 |
|
-{{/example}} |
451 |
|
- |
452 |
|
-== Tree Macro == |
453 |
|
- |
454 |
|
-The Tree macro shows a hierarchical list. |
455 |
|
- |
456 |
|
-{{example}} |
457 |
|
-{{tree}} |
458 |
|
- |
459 |
|
-[[Parent>>Parent.Page]] |
460 |
|
-** [[Child 1>>Parent.Child1]] |
461 |
|
-** [[Child 2>>Parent.Child2]] |
462 |
|
-{{/tree}} |
463 |
|
-{{/example}} |
464 |
|
- |
465 |
|
-== Video Macro == |
466 |
|
- |
467 |
|
-The Video macro embeds videos. |
468 |
|
- |
469 |
|
-{{example}} |
470 |
|
-{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
471 |
|
-{{/example}} |
472 |
|
- |
473 |
|
-== View File Macro == |
474 |
|
-The View File macro shows a file viewer. |
475 |
|
- |
476 |
|
-{{example}} {{view-file reference="Space.Page@file.pdf"/}} {{/example}} |
477 |
|
- |
478 |
|
-Fix applied: |
479 |
|
- |
480 |
|
-Now uses correct reference parameter. |
481 |
|
- |
482 |
|
-No missing "name" error. |
483 |
|
- |
484 |
|
-== UI Extension Macro == |
485 |
|
-The UIExtension macro injects UI elements. |
486 |
|
- |
487 |
|
-{{example}} {{uiextension extensionPointId="org.xwiki.platform.template.header.after"/}} {{/example}} |
488 |
|
- |
489 |
|
-Fix applied: |
490 |
|
- |
491 |
|
-Correct parameter: extensionPointId="...". |
492 |
|
- |
493 |
|
-No missing "id" error anymore. |
494 |
|
- |
495 |
|
-== UI Extensions Macro == |
496 |
|
-The UIExtensions macro lists UI extensions. |
497 |
|
- |
498 |
|
-{{example}} {{uiextensions/}} {{/example}} |
499 |
|
- |
500 |
|
-Fix applied: |
501 |
|
- |
502 |
|
-The listing macro uiextensions has no parameters required now for a basic use. |
503 |
|
- |
504 |
|
-If you want to filter by extensionpoint later, I can show you how, but basic call now works cleanly. |
505 |
|
- |
506 |
|
- |
507 |
|
- |