Aller au contenu principal
Wizards Play Network Support
Ouvrir/Fermer le menu de navigation
Products
Events
News
Connexion
Wizards North America
Vue d'ensemble du WPN
Vue d'ensemble du WPN
Información general
Formar parte de la WPN
Premium de la WPN
<% var getColumnClasses = function(numberColumns) { var classNames = 'col-12'; if (numberColumns >= 2) classNames += ' md:col-6'; if (numberColumns >= 3) classNames += ' lg:col-4'; if (numberColumns >= 4) classNames += ' xl:col-3'; return classNames; } %>
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %> <% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
<% (categories.length > 1 ? categories : sections).forEach(function(block, index) { %>
<%= block.name %>
<% if (block.sections.length) { %>
<% block.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else if (block.articles.length) { %>
<% block.articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } else { %>
vide
<% } %>
<% }) %>
<% var getColumnClasses = function(columnNumber) { var classNames = 'col-12'; if (columnNumber >= 2) classNames += ' md:col-6'; if (columnNumber >= 3) classNames += ' lg:col-4'; if (columnNumber >= 4) classNames += ' xl:col-3'; return classNames; } %> <% if (articles.length) { %>
<% articles.forEach(function(article, index) { %> <% var isLast = index === articles.length - 1 %>
<%= article.title %> <% if (article.promoted) { %>
Article à la une
<% } %>
<% if (article.body) { %>
<%= Util.getExcerpt(article.body, 256) %>
<% } %>
<% }) %>
<% } %>
Topics
<% if (categories.length) { %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section, index) { %>
<%= section.name %>
<% }) %>
<% } %> <% }) %> <% } %>