Difference between revisions of "Template:Forum"

From Yugipedia
Jump to: navigation, search
(actually, combine last edit/last editor too)
(Restoring revision 4752208 by User:Dinoguy1000 on 2021-08-09 20:55:32. "trim {{{1}}}")
Line 1: Line 1:
 +
<templatestyles src="Forum/styles.css" />
 
{{ #vardefine: $isindex | {{ #ifeq: {{FULLPAGENAME}} | Forum:Index | 1 }}
 
{{ #vardefine: $isindex | {{ #ifeq: {{FULLPAGENAME}} | Forum:Index | 1 }}
 
}}{{ #if: {{ #var: $isindex }}
 
}}{{ #if: {{ #var: $isindex }}
Line 8: Line 9:
 
<tr>
 
<tr>
 
<td>
 
<td>
{{{1}}}{{ #if: {{ #var: $isindex }}
+
{{trim|{{{1}}}}}{{ #if: {{ #var: $isindex }}
 
   | <!-- no recentchanges/alphabetic topic list links on the forum index -->
 
   | <!-- no recentchanges/alphabetic topic list links on the forum index -->
 
   | <br />
 
   | <br />
Line 40: Line 41:
 
width=25
 
width=25
 
prefix=Forum:
 
prefix=Forum:
preload=Template:Forum/header/{{#if:{{{category|}}}|{{{category}}}|{{PAGENAME}}}}
+
preload=Template:Forum/header/preload
 +
preloadparams[]={{#if:{{{category|}}}|{{{category}}}|{{PAGENAME}}}}
 
buttonlabel=Add new topic
 
buttonlabel=Add new topic
 
</inputbox>
 
</inputbox>
Line 51: Line 53:
 
  <tr style="text-align: left; background: #CCF;">
 
  <tr style="text-align: left; background: #CCF;">
 
   <th class="forum_title">{{ #if: {{ #var: $isindex }} | Forum | Topic }}</th>
 
   <th class="forum_title">{{ #if: {{ #var: $isindex }} | Forum | Topic }}</th>
   <th class="forum_author">Author</th>
+
   <th class="forum_author">Creator</th>
 
   <th class="forum_last_edit">Last Edit</th>
 
   <th class="forum_last_edit">Last Edit</th>
 
  </tr>
 
  </tr>

Revision as of 02:25, 15 March 2023

{{{1}}}

View recent changes for this forum | View alphabetic list of topics

Forum Search
General Discussion Ruling Query Help Deck Help Duel Terminal
Wiki Discussion Wiki Help Desk Banlists Discussion Deck Competition
New Topic

Topic Creator Last Edit
Sticky Threads
All Threads